Expand description
Label widget and properties.
The Label!
widget is a text presenter that is focusable, when it receives
focus it can transfer it to another target widget.
use zng::prelude::*;
Container! {
child_start = zng::label::Label!("Name", "name-field"), 5;
child = TextInput! {
id = "name-field";
txt = var_from("");
};
}
§Full API
See zng_wgt_text_input::label
for the full widget API.
Structs§
W
Default label style.W
Styleable and focusable read-only text widget.
Functions§
P
Extends or replaces the widget style.