Expand description
Default TableStyle impl + table-family design tokens.
Design tokens for the table family live as pub consts on this
module, shared by TableView and TreeTableView (TreeTableView adds
tree-only indent / twist sizing on top of the standard table dims).
§Wiring status
The make_* trait methods produce reference subtrees for custom
styles that want to install themselves via
style_slots.table = Some(...). The default IntUI shape is the
one TableView / TreeTableView paint today inline; they continue to
own their paint passes for performance reasons (grid lines need a
single batched pass over the virtualized viewport — composing one
RectWidget per line would defeat virtualization). The full
chrome decomposition is deferred.
Structs§
- Recipe
Table Style - Default
TableStyleshipped with Teksilo. The trait methods return reference subtrees; the widgets themselves still own their batched paint passes for performance (pending the chrome-decomposition follow-up). - Table
Recipe - Configurable dimensions for
RecipeTableStyle.
Constants§
- CELL_
PADDING_ HORIZONTAL - Horizontal padding inside each cell (also applied to header cells).
- CELL_
PADDING_ VERTICAL - Vertical padding inside each cell.
- COLUMN_
RESIZE_ STEP - Step, in logical pixels, applied by one assistive-technology
Increment/Decrementon a resizable column header — the non-pointer path to the resize grip. - CORNER_
RADIUS - Outer-frame corner radius.
- FILTER_
INDICATOR_ SIZE - Edge length of the filter glyph in the header.
- FOCUS_
RING_ INSET - Inset between the focused-cell bounds and the focus-ring stroke.
- GRID_
LINE_ THICKNESS - Stroke width of grid lines drawn between rows / columns.
- HEADER_
HEIGHT - Sticky header row height.
- HEADER_
INTER_ CELL_ SPACING - Spacing between adjacent header cells (in addition to grid lines).
- MIN_
COLUMN_ WIDTH_ DEFAULT - Default minimum column width, used when a column does not set its own.
- RESIZE_
HANDLE_ WIDTH - Half-width of a column’s resize grip on the header strip.
- ROW_
HEIGHT - Body row height. Headers use
HEADER_HEIGHT. - SORT_
INDICATOR_ SIZE - Edge length of the sort-direction chevron in the header.
- TREE_
INDENT_ PER_ LEVEL TreeTableViewonly — pixels per indent level on the tree column.- TREE_
TWIST_ LABEL_ GAP TreeTableViewonly — gap between the twist chevron and the cell content.- TREE_
TWIST_ SIZE TreeTableViewonly — edge length of the twist (expand/collapse) chevron.