Commit Graph
28 Commits
Author SHA1 Message Date
aiongg 62ab176098 A number field's value and unit share one number cell, sized to the range's widest shown value and capped at the cell, with longer values scrolling inside it; the inside label and the chevrons take their own room beside it, so a small percent field shows 100% whole and a long-range field stays one cell wide. fit_range goes: every field sizes its value area from its range 2026-11-12 14:32:50 +00:00
aiongg 7fcd160eca Field and number widths per control size: size.length.field and size.length.number hold sm and md, and controls read them through ControlMetrics, so a field in a small options bar is narrower than one in a dialog 2026-11-12 14:32:49 +00:00
aiongg 3750a77cb5 Columns keep their least width: fill columns share the room down to the header's least column width, columns wider than the room scroll sideways with the header, and a row's label stays in its column 2026-11-12 14:32:49 +00:00
aiongg dcaf0f0244 Table header: the header menu (Columns checks, Reset Columns, the column commands) on a secondary click on a header or the empty header, hidden columns kept in the header's memory and reported, and Ctrl or Cmd with Left or Right moving the focused column 2026-11-12 14:32:47 +00:00
aiongg 5e7d2c9943 CellGrid header press: Shift extends the current range from the anchor's line, Cmd/Ctrl adds the whole line as a range 2026-11-12 14:32:46 +00:00
aiongg 9c8af0ac52 A wheel over a zoom zone zooms the enclosing view; the timeline ruler is one 2026-11-12 14:32:46 +00:00
aiongg b537a04cc0 Validity::Error: a checked value that stands, read invalid with its message in the bad tone; TextColumns marks an out-of-range Number or Spacing field so, in place of the notices after it; the New Document preset name refusal uses it 2026-11-12 14:32:45 +00:00
aiongg c7362a6790 TabStrip wheel_selects: the wheel over the strip steps the shown tab by the collection's wheel notch; a collection that senses the wheel registers in the item step with its notch; DockConfig::wheel_selects_tabs passes it to dock groups 2026-11-12 14:32:45 +00:00
aiongg 756524277b Brush cursor: centre mark and selection badge on the tip circle and outline 2026-11-12 14:32:44 +00:00
aiongg 3a3ebbb11d A stop in the body of a canvas with a view takes the document key role, from the canvas's scroll-owner declaration: Cmd/Ctrl+Page on any canvas control scrolls the view sideways
The role came from KeyUse.chrome_key, which the canvas overlays that are no document (Guides, BezierOverlay and others) set to false, so their Cmd/Ctrl+Page switched pages. The innermost scroll owner now records whether it has a view of its own; a scroll region inside a canvas body takes the role back off. chrome_key keeps only its window meaning (Tab toggles the panels). Guides takes only the moves along the guide and leaves the page and end moves to the canvas.
2026-11-12 14:32:44 +00:00
aiongg 6e2687184d ColorDisc: the markers are one roving group
Every marker is a focusable member; Tab lands on the chosen one, a press focuses the marker it grabs, and the arrows
move the focused marker. Focus from assistive technology on another marker reports it as pressed. Roving takes
Arrows::None for a group whose members use every arrow.
2026-11-12 14:32:43 +00:00
aiongg dfd8a1f27a One step-until-changed for quantised colour steps
craft_behavior::nav::step_until_changed steps again while the value is the same one to the control. ColorStrip
uses it in place of its own loop; PointPicker takes a `same` test and runs every relative move through it.
ColorArea steps a quantised field by the channel's step until the colour changes, as the old area did.
2026-11-12 14:32:43 +00:00
aiongg 307b0467f5 Digit keys set a canvas tool's opacity: DigitKeys pair rule in craft-behavior, the OpacityDigit command set (1…0, Shift+1…Shift+0) in ui-canvas 2026-11-12 14:32:42 +00:00
aiongg e5b9ebac3b Cmd/Ctrl with Page Up or Page Down scrolls a focused document canvas sideways on every OS; the key role marks a document canvas, and roving groups and the Bezier overlay leave those keys 2026-11-12 14:32:42 +00:00
aiongg 9839432649 One Shift-45° helper: turn_to_45 in geometry::lock keeps the length; the measure, gradient and pen copies go, and the gradient's angle_base with them 2026-11-12 14:32:42 +00:00
aiongg 2e4be05c86 Neighbour rule per component (D14): ThumbRow pushes or stops at ordered thumbs, a divider moves its neighbours or only its pair; BlendIfBar pushes, ColumnBar moves only the pair (K9) 2026-11-12 14:32:42 +00:00
aiongg 592f383687 Absolute value drags set the value on press
A part that senses SETS_ON_PRESS runs its gesture through Cx::follow_press: the press begins it with the value under the pointer, shown in the press pass, a drag follows the pointer and the release commits. PointPicker (and ColorArea through it), ColorStrip, ColorWheel and ColorRamp use it in place of their own DragStart, Drag, Release and click handling; their drags take no modifiers, as before the port. ValueDrag::at gives an absolute drag's value at a point. The suite's slop case expects a one-value gesture within slop on such a part.
2026-11-12 14:32:42 +00:00
aiongg 64d03f8ef9 Live tool stories: tool_story keeps the tool and the document it edits across passes and runs the tool on a canvas over the story picture; the selection tool stories run on it with a selection of combined shapes that starts round the house, the marquee kind and style and the magnetic options as story values, and a status line; the mock Move tool moves the current layer with MoveGesture 2026-11-12 14:32:42 +00:00
aiongg 52e81f80ae Grid columns keep their least: a column that takes its room leaves the others theirs
A grid's measuring run measures each content column in the room the other
columns leave at their least. When the columns do not fit beside each other,
it asks every column for its least in a probe sweep (every leaf at its least,
no column bounded) and measures once more: a content column in the room the
others leave at their least, a fill column never below its least. Columns
whose leasts do not fit beside each other are laid out one under another
across the room, so no column is cut. The leasts and the stacked layout are
recorded for the real run.

A wrapped text's least is its widest word: a line breaks between words.

FontsPanelView's list column and ColorPicker Full's channel column no longer
collapse at card width.
2026-11-12 14:32:41 +00:00
aiongg 53d11c3a1b Fields narrow past their own least where a row shrinks them; the cut is shared
`Metrics::least_width` is the floor a least measure takes in place of
`min_size`'s width. A field keeps its 96-point floor where it takes its own
width and, in a row that shrinks it, narrows to its padding and one glyph plus
what its content measure adds there (a select face's ellipsis and chevron, a
text field's adornments).

A short row takes its shortfall from every unit in proportion to what each can
give, so all reach their least together.
2026-11-12 14:32:41 +00:00
aiongg 3a58d2262f LayersPanel effects keys: Shift+Left and Right are no moves in stacked rows, and the panel takes Show and Hide Effects on its own scope 2026-11-12 14:32:40 +00:00
aiongg bd04ee8b5e TileGrid keys: Cmd/Ctrl+digit ratings, Cmd/Ctrl + = / - / 0 zoom steps, and a slow click on the caption renames; the story turns Bridge's keys on 2026-11-12 14:32:40 +00:00
aiongg 540c932a0e Collection keys: Space can preview, Ctrl+Space toggles the lead's pick, Space flips Include in the actions panel 2026-11-12 14:32:40 +00:00
aiongg ce5987d114 Collection keys: Enter activates and F2 renames on every platform
The macOS rows that made Enter rename the lead and Cmd+Down activate it go.
2026-11-12 14:32:39 +00:00
aiongg f74d963e8f Collection keys: Cmd+] and Cmd+[ move the selected items, Shift to the ends
The stacking keys replace Alt+Up and Alt+Down as the reorder keys of every reorderable
collection and section stack, from one table in the key table. ] moves toward the front:
the start of a vertical order, later in a horizontal strip. The keys move the selection
as a block (the lead alone when it is not selected), with the tree rule for into_groups;
the single-row nudge helpers go. Alt+Down is Open everywhere.
2026-11-12 14:32:39 +00:00
aiongg 353579afd3 Docking: a new float opens at a height fitted to its content
A panel or group floated out of the dock opens at its docked width and at
the height its group measures at in a floating window's room, at most
size.float.height. Content that fills its body opens at that height.

- Proposal::Size measures a component as it is shown at a rect of that
  size, with no share of the parent body's room.
- drag::amend lets a host change a drag's payload in the frame the drag
  started. The dock area measures the dragged panel there and puts the
  size on PanelDrag::source / GroupDrag::source. The Float command and a
  tab torn out of the window measure where they run.
- DockGroupOutput::drag_started also reports tab drags.
- FloatSpace::size_of caps a panel's, group's or column's height at the
  default float height. FloatSpace::record and its contents are gone.
2026-11-12 14:32:39 +00:00
aiongg 306fef9a38 Value controls take the wheel only while focused or armed
A value control takes the wheel only while focused or armed, on the axes
it senses. WheelScope replaces the wheel_gated scope: Free lets the
sliders of an adjustment dialog take the wheel without focus, and Gated
(the Overview card) gates every taker and wins over a Free inside it.
Slider senses the vertical wheel only; RangeSlider and ThumbRow sense no
wheel bits; PointPicker and AngleDial sense both scroll axes.
2026-11-12 14:32:39 +00:00
aiongg e59460135e Base crates on the framework: theme, behaviour, keymap, platform, window, settings, i18n, fonts 2026-11-12 14:09:48 +00:00