A labelled single-line text field: label left, input box right. Click to focus; while
focused it captures the keyboard (UIFocus.typing) — caret, Shift+arrow selection,
Home/End, Ctrl+A/C/X/V, Backspace/Delete word-aware basics, Enter commits (onEnter),
Escape blurs. onChange(text) fires on every edit.
Constructor
new(label:String, width:Float, text:String = "", ?onChange:String ‑> Void)
Parameters:
label | the row text on the left (empty = the box spans the whole row) |
|---|---|
width | layout width |
text | the initial content |
onChange | fired on every edit |
Variables
Methods
localize(key:String, fallback:String):Void
Switches the label to a localized string.
Parameters:
key | the translation key |
|---|---|
fallback | the source-language text |