Expand description
Default StandardItemStyle impl driven by paint-recipe data.
RecipeStandardItemStyle reproduces the IntUI selection chrome
used by StandardListItem / StandardTreeItem: a rounded
selection background inset horizontally so the rounded corners
show, with content padded inside. Selection / hover / pressed all
cycle through the same SurfaceRole::{Selected | AccentSubtle | Pressed} cascade.
The host widget composes the row contents ([checkbox?] [leading?] [center?] label_column [Spacer] [trailing?]) and
passes the result as cfg.content; this style only owns the
chrome.
Structs§
- Recipe
Standard Item Style - Default
StandardItemStyleshipped with Teksilo. - Standard
Item Recipe - Configurable dimensions for
RecipeStandardItemStyle.
Constants§
- STANDARD_
ITEM_ BG_ HORIZONTAL_ INSET - STANDARD_
ITEM_ CHEVRON_ COLUMN_ WIDTH - STANDARD_
ITEM_ FOCUS_ RING_ WIDTH - Keyboard-focus ring thickness for the current item while its view is focused.
- STANDARD_
ITEM_ ICON_ SIZE - STANDARD_
ITEM_ ITEM_ CORNER_ RADIUS - STANDARD_
ITEM_ LABEL_ COLUMN_ MIN_ WIDTH - Compression floor for the label column when the caller opted its label or
subtitle into truncation (
label_overflow/subtitle_overflow). Wide enough that a truncated label keeps a few glyphs before the ellipsis rather than collapsing to nothing on a very narrow row. - STANDARD_
ITEM_ LABEL_ SUBTITLE_ GAP - STANDARD_
ITEM_ MIN_ HEIGHT_ SINGLE_ LINE - STANDARD_
ITEM_ MIN_ HEIGHT_ TWO_ LINE - STANDARD_
ITEM_ PADDING_ HORIZONTAL - STANDARD_
ITEM_ PADDING_ VERTICAL - STANDARD_
ITEM_ SELECTION_ EDGE_ WIDTH - Border thickness drawn around a selected item (in the
BorderRole::Focusedaccent colour) even without keyboard focus. A non-color-alone, >= 3:1 boundary cue so selection is perceivable beyond the low-contrastsurface_selectedwash (WCAG 1.4.1 Use of Color / 1.4.11 Non-text Contrast). Thinner than the keyboard-focus ring so the two stay distinguishable. - STANDARD_
ITEM_ SLOT_ GAP - STANDARD_
ITEM_ SUBTITLE_ ICON_ SIZE - STANDARD_
ITEM_ SUBTITLE_ SLOT_ GAP - STANDARD_
ITEM_ TREE_ INDENT_ STEP