Commit Graph
6 Commits
Author SHA1 Message Date
aiongg 6a3cc54ed4 Rows drag only in their mode: TextStylesPanel rows drag while highlighting, and the toolbar drawer's tools already on the toolbar do not drag 2026-11-12 14:32:41 +00:00
aiongg e58aabe37e Focus returns to where it came from: the drawer to Edit Toolbar, the last toast to the stop before the stack (K17)
A layer opened from a recorded opener returns focus to that opener's stop. ToolRailOutput::edit_toolbar carries the
button's response and ToolbarDrawer::opened_by takes it; the drawer still hangs from the rail. The toast layer is a
non-trapping scope (FocusPolicy::TAB_LAYER) whose opener is the stop focus entered it from, so the last card's end
returns focus there; an earlier card's end hands it to the next card.
2026-11-12 14:32:41 +00:00
aiongg dfd18d09a3 A fill body in a shrinking row counts at its content; a thumbnail slider narrows
A body that fills the rest of a bounded row reported only the room its
siblings left, so the row did not see that its content needed more and cut it
at the view. It now counts at its content width, and the units narrow to leave
it that.

ThumbnailSlider measures its track at the proposal it is given, and a slider's
track narrows to a short field's length at its least.
2026-11-12 14:32:41 +00:00
aiongg e9c1a3a776 Popup lists: one popup padding and the listbox option rows
Every popup pads its content by POPUP_PAD (space.pad.control, the old menu
margin): OverlayUi::show insets its body, and PopupList, Popover and Menu
take it as their pad; Menu::inline has no pad of its own. Option rows of a
listbox have their own form: rounded, the chosen row in state.selected with
an accent.text outline, the lead row in state.hover with a line.control_edge
outline. ListRow::check gives a value list's rows a mark column with the
check glyph on the chosen one; Select, ComboBox, the number presets, the
tree picker and the font picker set it.
2026-11-12 14:32:39 +00:00
aiongg 100843bcf4 Popups shown from an overlay hook sit on the popup surface
OverlayUi::show paints the Popup surface (fill, edge, elevation.popup
shadow) under its body, through the same window-clipped surface slot the
container step uses (SurfaceSlot). Select, ComboBox, completions, the
number field and date popups and the domain pickers drew their bodies
with no fill or shadow. Menu::inline no longer carries its own surface,
so the popup_in_layer clip special case goes.
2026-11-12 14:32:39 +00:00
aiongg a2676b8eac Framework UI crates: widgets, panels, canvas, patterns, shell and the craft-ui facade 2026-11-12 14:09:32 +00:00