#[non_exhaustive]pub struct ResolvedListTheme {Show 14 fields
pub background_color: Rgba,
pub alternate_row_background: Rgba,
pub selection_background: Rgba,
pub selection_text_color: Rgba,
pub header_background: Rgba,
pub grid_color: Rgba,
pub row_height: Option<f32>,
pub header_height: Option<f32>,
pub hover_background: Rgba,
pub hover_text_color: Rgba,
pub disabled_text_color: Rgba,
pub item_font: ResolvedFontSpec,
pub header_font: ResolvedFontSpec,
pub border: ResolvedWidgetBorder,
}Expand description
List and table colors and 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.background_color: RgbaList background fill.
alternate_row_background: RgbaAlternate row background for striped lists.
selection_background: RgbaSelected row highlight color.
selection_text_color: RgbaText color inside a selected row.
header_background: RgbaColumn header background fill.
grid_color: RgbaGrid line color between rows/columns: a table’s grid. A separating
line elsewhere takes separator.line_color.
row_height: Option<f32>Row height in logical pixels. None where the platform states no row
height: KDE’s rows size to their content, and GNOME’s plain list sets
no minimum height (docs/platform-facts.md §2.15).
header_height: Option<f32>Column header row height in logical pixels. None where the platform
states none: KDE’s header sizes to its content, and WinUI has no
column header (docs/platform-facts.md §2.15).
hover_background: RgbaHovered row background color; unstated, the list’s own
background_color, no tint (a widget-to-widget rule,
resolve_widget_to_widget). It may be translucent, a layer over the
row’s fill (kde-breeze states #3daee94d, windows-11 #00000009 light
and #ffffff0f dark): lay it over that fill, with
composite_over where the toolkit
replaces the fill rather than painting the highlight over it.
hover_text_color: RgbaHovered row text color.
disabled_text_color: RgbaDisabled row text color.
item_font: ResolvedFontSpecList item font specification.
header_font: ResolvedFontSpecColumn header font specification.
border: ResolvedWidgetBorderList border specification.