In the measuring run of a row that shares a line with an inline header or a non-full-height end region, the row's line
carried the shared height, and a container that fills its height on it was given that height, so taller content was
cut to the header's line. A container takes the row's line only once this pass's measuring run of the row settled it
(`RowLine::settled`); while the row measures, it measures its content. The line rule joins the capped decision: one
check, `given_room`, gives a capped container its room on a settled line or when its content outgrew the room.
A group sized the spacer under its content from the content height the last real run kept (ContentHeight), so in the first frame every group stood one body too tall, and a host laying out under the ribbon saw a taller ribbon first (WordCraft scrolled its caret into view 64 pt off). The titles' line (BodyHeight) and their centring (TitleCentre) were the same last-pass state.
Each group is a labelled stack that fills the row's line: its title sits at its foot under a filling spacer, its separator fills its height, and its title row centres the title across the group's width in this pass. The row's least height (three control rows and a title line) is the row's least line height. ContentHeight, BodyHeight and TitleCentre are gone.
An unwrapped row's line is at least the least height, as if a child of more than one line that high stood in it, so the children that fill the line take at least it.
In a row that scrolls along x, a unit's content ran in the scroll region's unbounded room, so a centred row in it centred in the view, and fill-width children in its content columns never widened to the column. At its level the unit runs in the width the shrink step gave that level, so its content lays out as in any room of that width.
Such a container took the line's height as its rect, but its body still ran at its content height, so the children in it that fill (a spacer, a separator, a footer) never reached the line. Once the row's measuring run settled the line, the container is given its height and its body runs in it, as a fill-width row on the line of a row given its height already is. In the row's own measuring run there is no line yet and the container measures its content.
A levelled unit's content ran in a room of its own with the row's line cleared, so a child of it that fills its height took its own measured height instead of the line the row settled on. The unit keeps the row's line; only the probes that measure each level run off it.
A component with no scroll owner in its scope sent its reveal to the smallest scroll region of the last pass whose
rect met its own; egui's intersects counts a shared edge, so WordCraft's page canvas, taking the focus in its first
pass, scrolled the status bar under it to its end. A reveal and an untaken page or end move now go only to the scroll
owner the scope names, and with none nothing scrolls. A collection that scrolls its rows names itself their scroll
owner, so a reveal in a row still reaches it; the geometric lookup is removed.
A go_to in a continuous view subtracted the margin above the first row (16) from every page's top, while rows after
the first have the page gap (12) above them, so 4 pt of the page before showed at the view's top and WordCraft's
status bar named that page. Since #7149 item 7 the offset and the canvas use one rect inside the rulers, which
brought the 4 pt into view. The view's top now goes where what shows of the row above ends (the document's start for
the first row), which holds for gaps on and off, Hide White Space and spreads.
HoverLead (Off, Lead, LeadAndSelection) replaces lead_follows_hover. List::options takes Lead, so the hovered row no longer draws as the chosen option for a frame; UndoList keeps LeadAndSelection.
PageRulers handed the text ruler the canvas's top strip, which starts after the
canvas corner, and the ruler cut its own corner square out of that strip, so the
selector sat one strip depth right of the corner, over the horizontal ruler, and
the corner stayed blank. The host now gives the corner (TextRuler::corner):
Rulers::strips returns it beside the strips, and PageRulers shows the ruler over
the top strip and the corner. The corner follows the host in either direction.
The selector's box is the icon size with the theme's small rounding, in the
column's colour with the state layer under the pointer; the corner continues the
strip round it; the glyph is centred by its own bounds.
The Crop tool claimed I, X, O and Shift+O as soon as it showed its
untouched default frame (on picking the tool, after a commit, or on a
selection's bounds), so O cycled the overlay instead of picking the
Dodge group, I switched to Front Image instead of the Eyedropper, and X
swapped the frame instead of the colours. As in the reference application, the crop
now takes its keys only while a crop is pending, the way H and P
already were.
The key trial gave the canvas no keyboard before its first press, so
its untouched-frame half passed whatever the tool did; the rig now
focuses the canvas first.
Part of storytold/photocraft#6536.
The new frame over a card's picture also drew on flat thumbnails, which
have no sunken well to restore: the New Document preset cards gained a
second outline around their page, and
form_dialogs::new_document::recent_preset_cards_paint_one_small_page_at_its_aspect
failed on every leg. Frame only where the sunken well was painted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Removes the paired measure (Component::PAIRED_MEASURE, measure_pair and its
six adopters, MeasureCx::least_width) and the prepared-leaf path
(PreparedLeaf, PreparedStep, run_with, show_leaf_prepared,
measure_under_prepared, child_with_prepared): every leaf is measured by
measure alone, and the recursive run frames carry only what they read after
their children again.
Keeps the text layout memo and the lazy layout runs, with three fixes: a Line
run keys its width as infinity, entries unused for 60 passes go instead of
first in first out, and a 32 MiB budget bounds what the memo retains.
TextLayout's full and runs are private behind full() and runs().