mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 06:24:39 +00:00
ContainerProps gains pad_edges (PadEdges::Block pads top and bottom only) and LeastWidth::Rail (size.rail.width per column). ToolRail pads only above and below, is at least its columns' rail width wide, and centres its grid of buttons, so no button or corner mark reaches past the slot. The column and side toggles share one header line as small control-glyph buttons that touch, which fits two in one rail column. A container's child_size and child_glyphs reach its header and footer as well as its body, so a rail's footer buttons show the rail's glyphs. AppShell::tools takes the rail's column count, so a two-column rail gets a two-column slot.