plushie/widget/combo_box
Combo box widget builder (text field with suggestions dropdown).
Types
Values
pub fn icon(cb: ComboBox, i: node.PropValue) -> ComboBox
Set a custom icon. Pass a DictVal with keys like code_point, size, font, etc.
pub fn menu_style(cb: ComboBox, ms: node.PropValue) -> ComboBox
Set dropdown menu style overrides. Pass a DictVal with optional keys: background, text_color, selected_text_color, selected_background, border, shadow.
pub fn new(
id: String,
options: List(String),
value: String,
) -> ComboBox
Create a new combo box builder.
pub fn shaping(cb: ComboBox, s: shaping.Shaping) -> ComboBox
Set the text shaping strategy.