Expand description
Handles the UI layout and UI layout solver
Structs§
- External
Scroll Id - Inline
Text Layout - Inline
Text Line - Layout
Result - Layouted
Rectangle - Same as
PositionedRectangle
, but without thetext_layout_options
, so that the struct implementsCopy
. - Overflowing
Scroll Node - Positioned
Rectangle - Resolved
Offsets - Resolved
Text Layout Options - Same as
TextLayoutOptions
, but with the widths / heights of thePixelValue
s resolved to regular f32s (becauseletter_spacing
,word_spacing
, etc. may be %-based value) - Scrolled
Nodes - Text
Layout Options - Layout options that can impact the flow of word positions
Enums§
Constants§
- DEFAULT_
FONT_ COLOR - DEFAULT_
FONT_ ID - DEFAULT_
FONT_ SIZE - DEFAULT_
FONT_ SIZE_ PX - DEFAULT_
LETTER_ SPACING - DEFAULT_
LINE_ HEIGHT - DEFAULT_
TAB_ WIDTH - DEFAULT_
WORD_ SPACING