- Env::of sets Scoped::egui_cell when its walk from a Ui to the entry it finds passes an egui::Grid's Ui; scopes that pass the env on keep it, a body or a component's children end it. It replaces Ui::is_grid in the label step and the container hooks.
- In an egui cell the row is decided at what the label and the control at its ideal width need, from the cell's left edge, narrowed as well as widened.
- flow_scope folds into with_env (Overrides::id_salt); the dock group header and the Liquify footer are craft Rows.
- text_edit and the selectable text read the caller's env before they make their child Ui.
- Grid docs: rows after an egui container are placed over it.
A layer's measuring run lays its body out before the footer runs, so a body
that fills the layer's room (a scrolling list, About's Contributors grab bag)
took the footer's height too. The layer came out taller than its room by the
footer, with empty space under the buttons, and in a small window it ran past
the window's bottom edge.
When what a layer with a footer took is taller than its room, the run is now
taken back and the body laid out again beside the footer that run measured,
as a capped inline body already is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* develop-model: map remaining Camera Raw fields to DevelopSettings (#587)
* test(develop-model): avoid json! macro recursion limit in migration test (#587)
The grip above each icon group of a collapsed column was a dotted hairline in a lighter ink than the panel
(7bf0a9b6d, e5e007233). The reference application draws its dock grips as ten upright ticks, one point wide,
four tall and one apart, a little darker than the panel in every interface colour, the same under the pointer.
`GripMarks` paints that row, through the new `Rule::ticks` (the dotted rule is now its square case) and
`Draw::grip_ticks` (exactly `count` marks at every scale).
A tool rail the host shows itself (a panel with a `DockGrid`, taken by `group_view`) now gets a grip strip of
`DockSizes::grip` on top, under its column bar: a `GroupGrip` with the ticks, whose drag moves the rail's group.
The host's view gets the room under it, and the group measures the strip on top of the view's height.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A lone Alt tap or F10 puts the keyboard on the in-window menu bar. The
titles took Space as their activation, so Space opened the lit menu
(File), and a held Space went on to run its first row. In a canvas app
Space is the momentary Hand, and the reference application never opens a
menu with it.
- The titles activate on Enter only; Down opens the menu as before.
Space goes on to the app's shortcuts, and a shortcut pressed on the bar
already gives the keyboard back to the stop the bar took it from.
- A bar that takes the keyboard while nothing holds it remembers the
window's document canvas (the key target then) as that stop, so the
shortcut and Escape give the keyboard back to the canvas instead of
leaving the bar lit, where the next tool letter would open a menu.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The centred layout drew the blurb, version, community button, link row and
built-with line in one stack at the row gap, and its rows were only as wide
as their content, so nothing was centred and no block stood apart. The
blocks now sit apart by the section gap, and the body and the About tab
take the dialog's width, so the button and the link row centre in it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Overscroll on, the bars' range takes in the pasteboard: at either end
of a track 100 screen points of the document stay in view at the opposite
edge, at any zoom and for documents larger or smaller than the window, as
measured in the reference application. Overscroll off is unchanged.
A thumb drag keeps the range the bar had at the press and maps the
pointer's movement from the press onto it, so the thumb stays under the
pointer: past a track's end the view waits, and moving back moves it again
in the same drag.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Env::of clears the start_room facts (grid cursor, row line and room, shrink step, first line, flow start, fill share,
content column, offered width) when the entry it finds was installed for an ancestor of the Ui, not for the Ui
itself. Copies made from it (with_env, MemoView's counting install, with_item_facts) and the measure keys start from
the cleared facts. Env::installed_for, row_line_of and grid_of go.
Craft code that runs children in a Ui it makes installs its env there: run_sharing and measure_sharing's no-share
block, run_spread's sweeps, Lazy and MemoView, Pages, measure_slot, the levelled unit's probe, a content-height pane at
a caller rect (a room of its own), PaintUi's children. flow_scope is the craft form of ui.scope, push_id and
with_layout around craft content; the dock group header and the Liquify footer use it, and the select search row and
the date popup's Today row are craft Rows. A craft Grid documents that an egui container in it is no cell.
The label step's signal is egui's Ui::is_grid (egui_cell): in an egui::Grid cell a labelled control or container
decides its label at its own width and widens at the cell's right edge in either direction. ui.horizontal keeps
wrapping and stacking at the room's end.
A list toggle cell drew its off icon under the pointer, so hiding a layer showed a crossed-out eye in its box until
the pointer left. The reference application leaves a hidden layer's box empty in every state. ToggleCell gains
`empty_off()`, which never draws the off icon, and the Layers panel's layer and sub-row eye cells use it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>