CSSuiLabel¶
- CSSuiLabel()¶
CSSUILABEL CSS-styled text label backed by uihtml
- Usage:
lbl = CSSuiLabel(parent, ‘Text’, ‘Status:’) lbl.Text = ‘Updated’; % live-patches without rebuild
- Inputs:
parent : graphics container – required
- Name-Value Pairs:
‘Text’ : char - display string (default: ‘Label’) ‘Style’ : char - preset name (default: ‘shadow’) (plus all CSSBase name-value pairs)
- Outputs:
lbl : CSSuiLabel handle
Notes
- CSS element schema:
- #css-root / .css-control Same element — the label IS the root
.cssui-label Widget-type class on #css-root #cssbase-text Span holding the text (live-patchable)
.css-disabled On #css-root when Enabled=false
See also: CSSBase, CSSPreset, CSSuiButton
∿∿∿ Prerau Laboratory MATLAB Codebase · sleepEEG.org ∿∿∿