#[non_exhaustive]pub struct ResolvedExpanderTheme {
pub header_height: f32,
pub arrow_icon_size: f32,
pub hover_background: Option<Rgba>,
pub arrow_color: Option<Rgba>,
pub arrow_side: Option<ArrowSide>,
pub arrow_gap: Option<f32>,
pub content_indent: Option<f32>,
pub frame_enabled: Option<bool>,
pub font: ResolvedFontSpec,
pub border: ResolvedWidgetBorder,
}Expand description
Expander / disclosure row geometry.
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.header_height: f32Collapsed header row height in logical pixels.
arrow_icon_size: f32Disclosure arrow size in logical pixels.
hover_background: Option<Rgba>Expander header background on hover.
arrow_color: Option<Rgba>Disclosure arrow/chevron color.
arrow_side: Option<ArrowSide>Which end of the header row the disclosure arrow sits at: before the
title, or at the row’s end. None where the theme states none
(docs/platform-facts.md §2.27).
arrow_gap: Option<f32>Space between the arrow’s icon box (arrow_icon_size square) and the
title after it, or, for a trailing arrow, the header content before
it, in logical pixels. None where the platform states none: AppKit
documents no disclosure geometry (docs/platform-facts.md §2.27).
content_indent: Option<f32>Horizontal distance from the expander’s leading inner edge (inside
its frame, where it has one) to the content it reveals, in logical
pixels. None where the platform states none: AppKit documents no
disclosure geometry (docs/platform-facts.md §2.27).
frame_enabled: Option<bool>Whether the expander draws a frame (its border) around its header
and the content it reveals: KDE’s has none, libadwaita’s and WinUI’s
are framed. None where the theme states none
(docs/platform-facts.md §2.27).
font: ResolvedFontSpecExpander font specification.
border: ResolvedWidgetBorderExpander border specification.