jacket
Search the docs
/
API
Tools
Playground
0.31.0
UI module
← UI
Types
Glyph
Font_Metrics
Atlas
Text_System
Mouse_Button
Modifiers
Input_Kind
Input_Event
Input_State
Node_Kind
Paint_Proc
Node
Node_Events
UI_State
UI_Hooks
Cursor_Kind
Draw_Kind
Draw_Cmd
Draw_List
Container
Text_Options
Button_Variant
Button_Options
Tab_Result
Tab_Options
Split
Split_Options
Text_Edit
Highlight_Span
Highlight_Proc
Text_Mark
Editor_Options
Unit
Key_Result
Headless_Options
Find_Query
Renderer
Instance_Data
Batch
Rendered_Image
On this page
Fields
See also
std
/
Extensions
/
UI
/
Text_Options
Text_Options
struct
since 0.31.0
Source
Options for text: all optional.
Fields
size
:
float
points; 0 is the theme's size
color
:
Color
alpha 0 is the theme's text colour
font
:
Font_Slot
grow
:
float
muted
:
bool
use the theme's muted text colour
padding
:
float
See also
Draw_List
Container
Button_Variant
Button_Options