{{Template:GUI_Object|text|[wiki:GUI_-_Properties#buffer_zone buffer_zone], [wiki:GUI_-_Properties#caption caption], [wiki:GUI_-_Properties#cell_id cell_id], [wiki:GUI_-_Properties#font font], [wiki:GUI_-_Properties#scrollbar scrollbar], [wiki:GUI_-_Properties#scrollbar_style scrollbar_style], [wiki:GUI_-_Properties#sprite sprite], [wiki:GUI_-_Properties#text_align text_align], [wiki:GUI_-_Properties#text_valign text_valign], [wiki:GUI_-_Properties#textcolor textcolor], [wiki:GUI_-_Properties#tooltip tooltip], [wiki:GUI_-_Properties#tooltip_style tooltip_style]|none}}
A text box is used to draw text on top of an optional sprite, if you have no text to draw, then the [wiki:GUI_-_Image Image] control will suffice.
Notice that when ''scrollbar'' is true, ''text_valign'' is ignored and always considered "top". Along the same lines, ''buffer_zone'' is always ignored if both ''text_align'' and ''text_valign'' is set to "center".
[wiki:Image:gui-object-text.png]
To learn more about how to change the font, color, and add icons and images, see [wiki:GUI_-_Text_Renderer Text Renderer].
'''''Code of example texts:'''''
{{{
}}}