pub type DropdownStyle = SelectStyle;Expand description
Aliased Type§
struct DropdownStyle {Show 28 fields
pub trigger_background: Color,
pub trigger_background_hovered: Color,
pub trigger_background_pressed: Color,
pub popup_background: Color,
pub option_hovered: Color,
pub option_active: Color,
pub option_selected: Color,
pub border: Border,
pub popup_border: Border,
pub focus_ring: Border,
pub shadows: Vec<BoxShadow>,
pub text: TextStyle,
pub placeholder_text: TextStyle,
pub disabled_text: TextStyle,
pub icon_tint: Color,
pub selected_icon_tint: Color,
pub disabled_icon_tint: Color,
pub width: f32,
pub height: f32,
pub option_height: f32,
pub popup_max_height: f32,
pub popup_gap: f32,
pub radius: Radius,
pub padding_x: f32,
pub icon_size: f32,
pub icon_gap: f32,
pub focus_ring_offset: f32,
pub disabled_opacity: f32,
}Fields§
§trigger_background: ColorResting trigger fill.
trigger_background_hovered: ColorHovered enabled trigger fill.
trigger_background_pressed: ColorPressed enabled trigger fill.
popup_background: ColorPopup surface fill.
option_hovered: ColorReserved hovered row fill token.
option_active: ColorKeyboard/pointer-active row fill.
option_selected: ColorSelected row fill.
border: BorderResting trigger border.
popup_border: BorderPopup border.
focus_ring: BorderFocus ring border.
shadows: Vec<BoxShadow>Popup shadows painted in order.
text: TextStyleEnabled trigger and row text.
placeholder_text: TextStyleNo-selection placeholder text.
disabled_text: TextStyleDisabled row and trigger text.
icon_tint: ColorEnabled leading/trailing icon tint.
selected_icon_tint: ColorSelected checkmark tint.
disabled_icon_tint: ColorDisabled icon tint before opacity multiplication.
width: f32Minimum intrinsic trigger/popup width in logical pixels.
height: f32Preferred trigger height in logical pixels.
option_height: f32Popup row height in logical pixels.
popup_max_height: f32Maximum popup height in logical pixels.
popup_gap: f32Trigger-to-popup gap in logical pixels.
radius: RadiusTrigger and popup corner radii.
padding_x: f32Horizontal content padding in logical pixels.
icon_size: f32Option and chevron icon size in logical pixels.
icon_gap: f32Horizontal icon/text gap in logical pixels.
focus_ring_offset: f32Focus ring distance beyond trigger bounds in logical pixels.
disabled_opacity: f32Disabled alpha multiplier.