#[non_exhaustive]pub struct ResolvedTabTheme {Show 14 fields
pub background_color: Rgba,
pub active_background: Rgba,
pub active_text_color: Rgba,
pub bar_background: Rgba,
pub min_width: f32,
pub min_height: f32,
pub item_gap: Option<f32>,
pub active_indicator_color: Option<Rgba>,
pub active_indicator_width: Option<f32>,
pub active_indicator_side: Option<TabIndicatorSide>,
pub hover_text_color: Rgba,
pub hover_background: Option<Rgba>,
pub font: ResolvedFontSpec,
pub border: ResolvedWidgetBorder,
}Expand description
Tab bar colors and 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: RgbaInactive tab background.
active_background: RgbaActive (selected) tab background.
active_text_color: RgbaActive (selected) tab text color.
bar_background: RgbaTab bar strip background.
min_width: f32Minimum tab width in logical pixels.
min_height: f32Minimum tab height in logical pixels.
item_gap: Option<f32>Space between adjacent tabs in logical pixels. None where the
platform states none: AppKit publishes no tab spacing
(docs/platform-facts.md §2.11).
active_indicator_color: Option<Rgba>Color of the line that marks the active tab: Breeze’s Highlight
strip, libadwaita’s accent, Material’s primary indicator. None
where the platform marks the active tab without one, by its fill and
border (docs/platform-facts.md §2.11); a connector draws the line only
where the theme states its color, width and side.
active_indicator_width: Option<f32>Thickness of the active tab’s indicator line in logical pixels: KDE 3, GNOME 4, Material 3 (docs/platform-facts.md §2.11).
active_indicator_side: Option<TabIndicatorSide>Which edge of the active tab its indicator line lies along, for tabs above their pages: KDE top, GNOME and Material bottom (docs/platform-facts.md §2.11).
hover_text_color: RgbaTab text color on hover.
hover_background: Option<Rgba>Tab background on hover.
font: ResolvedFontSpecTab font specification.
border: ResolvedWidgetBorderTab border specification.