benilla-re systems structs docs

CSimpleEditBox::LayoutLabel

function · ui · primitive

Address
0x77b8c0 · 463 bytes, up to 0x77ba8e
Meaning
Lays the label and the caret out inside the insets
Confidence
verified, proof one
Finding
ui/editbox#multi-line-and-the-labels-justify
Test
ui::glue_77a_77b8c0_fill_edges

Finding: Multi-line and the label's justify in ui: EditBox

SetMultiLine sets the flag and fixes the label's vertical justify, TOP for multi-line and MIDDLE otherwise, cutting it off from the font's justify for good; it also switches the label's line break flags and lays the text out again. The constructor makes every box single-line this way, so an edit box's label never takes its vertical justify from a font. SetTextInsets(left, right, top, bottom) stores the insets and lays out again.

The derivation is in the doc.

Callers 5

Callees 6

Calls and jumps by a bare address, from tables/calls.tsv.