#[non_exhaustive]pub struct ResolvedComboBoxTheme {Show 14 fields
pub background_color: Rgba,
pub min_height: f32,
pub min_width: f32,
pub arrow_icon_size: f32,
pub arrow_area_width: Option<f32>,
pub disabled_opacity: f32,
pub disabled_text_color: Rgba,
pub hover_background: Option<Rgba>,
pub hover_border_color: Option<Rgba>,
pub disabled_background: Option<Rgba>,
pub open_background: Option<Rgba>,
pub open_border_color: Option<Rgba>,
pub font: ResolvedFontSpec,
pub border: ResolvedWidgetBorder,
}Expand description
ComboBox / dropdown trigger: colours, sizing, and states (hover, open, disabled).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.background_color: RgbaComboBox background color.
min_height: f32Minimum trigger height in logical pixels.
min_width: f32Minimum trigger width in logical pixels.
arrow_icon_size: f32Dropdown arrow size in logical pixels.
arrow_area_width: Option<f32>Width of the arrow clickable area, in logical pixels. None where the
theme states no width (docs/platform-facts.md §2.24): GNOME’s dropdown
draws its arrow inline, macOS’s width is only a measured range
(~16–18px), and the iOS and Material platform presets and the community
colour-scheme presets cite none.
disabled_opacity: f32Opacity multiplier when disabled (0.0-1.0), applied to the whole
widget on top of its disabled colours (see
ThemeDefaults::disabled_opacity).
disabled_text_color: RgbaComboBox text color when disabled.
hover_background: Option<Rgba>ComboBox background on hover.
hover_border_color: Option<Rgba>Border colour of the trigger under the pointer. None where the theme
states none; a connector then keeps the border at rest
(docs/platform-facts.md §2.24).
disabled_background: Option<Rgba>ComboBox background when disabled; None, the enabled background.
open_background: Option<Rgba>Fill of a combo box while its popup is open, whatever the pointer
does: Breeze draws it as a pressed button, Button mixed 0.3 towards
Highlight. None: the fill the connector draws for the pointer’s
state (docs/platform-facts.md §2.24).
open_border_color: Option<Rgba>Border colour of an open combo box, drawn at border.line_width:
Breeze’s Highlight. None: the border the connector draws for the
pointer’s state (docs/platform-facts.md §2.24).
font: ResolvedFontSpecComboBox font specification.
border: ResolvedWidgetBorderComboBox border specification.