The text editor requested the I-beam every pass of an open session, wherever
the pointer was. At hover priority it beat the canvas tool's cursor and showed
over panels, the options bar and the rest of the UI. It now asks only while its
press is not idle: the pointer is over the editor or its own press is held.
Framed galleries now render with the sunken well surface (`colors.surface.sunken`)
and provide a dedicated stepper track (`colors.surface.panel`) with divider definition
for the stepper buttons column to preserve contrast and hierarchy in both light and dark modes.
The grip strip under a host-shown rail's column bar (#2934) ran its
GroupGrip in every pass, also when the only input was the pointer
moving elsewhere, where the column bars and tab rows replay. It is now
a MemoView held to the strip, keyed by the rail's group, with the drag's
start leaving through an outbox; the group's size goes on the drag
outside the view as the column bar does it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- 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>
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>
egui::Grid offers a column with no width from the last frame its least cell width (40 points). A check box's label
after it was decided in that width, so it wrapped, its cell grew taller than the one-line cells beside it, and
egui::Grid centred the shorter cells lower: in PhotoCraft's Conditional Mode Change dialog, Bitmap and RGB Color
no longer shared a row. The column then stayed that narrow.
In a Ui that egui lays out (no body installed its env for it) where egui extends text instead of wrapping it
(Ui::wrap_mode: ui.horizontal, an egui::Grid without a max column width), the label step's row has no end: the
label keeps its natural width, a beside label never stacks for want of room, and the step's flow widens from the
row's start edge to what the label and control need. Craft's own rows, bars and grid cells, and vertical and
wrapping flows, keep their bounded room.
Content start and end rails sit at their sides in left-to-right and
right-to-left windows, hold their content and settle in one pass with
each rail's content run once. A content slot holding a vertically
scrolling list, content-sized or filling its height, is as tall as the
list's rows and the body keeps the rest of the window. The count trial's
grow half also checks that the next frame is settled.
SlotSize::Content documents that the slot never takes more than the room
the window leaves it, and that raw egui content allocates its own extent
along the slot's edge.
The shell recorded a content slot's extent from any run of its content,
including the scope's measuring run, which alone runs for an embedded
shell out of sight. The slot's own body now says whether it ran for real,
and only that run records. A content slot's pane no longer carries an
extent: a pane at a rect ignores it.
The out-of-sight trial also holds a content slot, which does not run.
A component an app shows inside an egui container (an egui::Grid, ui.horizontal) in a Row or Grid body read the body's
env up the Ui stack and was placed as one of the body's children: a labelled check box in an egui::Grid inside a
full-width form row took a slot as high as the row's whole line, so every grid row was as tall as the block
(PhotoCraft's Conditional Mode Change dialog), and a check box in ui.horizontal in a Grid body took the grid's cells.
Env::installed_for says whether a Ui has an env entry of its own; row_line_of and grid_of give the row's line and the
grid's cells only there. The spread row's sweeps install the row's env for the Ui its children run in.