CSimpleEditBox::SetTextInsets
function · ui · orchestration
- Address
0x77a6e0· 48 bytes, up to0x77a70f- Meaning
- Stores the four text insets and lays the box out again
- Confidence
- verified, proof one
- Finding
- ui/editbox#multi-line-and-the-labels-justify
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 2
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.