#[non_exhaustive]pub struct ResolvedComboBoxTheme {
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 disabled_background: Option<Rgba>,
pub font: ResolvedFontSpec,
pub border: ResolvedWidgetBorder,
}Expand description
ComboBox / dropdown trigger sizing.
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.
disabled_background: Option<Rgba>ComboBox background when disabled; None, the enabled background.
font: ResolvedFontSpecComboBox font specification.
border: ResolvedWidgetBorderComboBox border specification.