Delete and Replace commit, so Windows orders them after the accepting button and before the closing answers and
Cancel; macOS and Linux keep their order. The column footer doc names Alternate's place.
A band picture (a plot, a strip, the vectorscope, the navigator and reading previews) keeps its height whatever its
width, so a second sweep of its column changed nothing. Pictures whose height follows from their width state it
through MeasureCx::picture_size (the Curves graph, the colour wheel and disc, an image preview at its aspect);
picture_width stays the band picture's width and holds nothing. The held picture reports its placed width, padding
included, as a held fill-width child does, so a padded picture that is the column's widest child does not sweep again.
A check box or radio with its label after it was placed at the top of
the room, while every other control is centered on the row's line. In
an options bar shown in a slot shorter than it asks for (36pt where the
bar wants 40), the check box stood at the bar's top edge, 6pt above the
fields beside it. It now sits on the row's line, and a tall room no
longer makes its row taller.
Most context menus hang from Anchor::Point (table header, rulers, ribbon,
places, versions, dock group menu). layer_covers_anchor decides every case in
one place: the pointer, the rect a context request named, and a point for a
layer whose key class is OwnerClass::Menu. Point-anchored layers that are not
menus (the iconic flyout, a popover at a point) keep their rule.
docs/contract-api.md regenerated.
A picture (`MeasureCx::picture_width`) in a content-sized Stack column takes its least in the column's measuring run,
which offers no room, and shows across the width the column settles on. A square picture was then taller in the real
run than its column had measured it, and everything under it was pushed past the column's end: the Curves dialog lost
its tone bar, the Input/Output fields and the hint (photocraft#15543).
Such a picture now reports itself held in the column's first sweep, in the same held record fill-width children use,
with its kind (`HeldKind::Picture`). The column sweeps again at its settled width, where the picture is offered that
width as room, so it measures at the width it shows. This covers the colour wheel and disc too.
Trials: the hosted Curves dialog shows the graph with its tone bar, Input, Output and the hint inside the dialog; a
square picture in a content column pushes what follows below its shown size; a column sweeps again only for a
picture narrower than it.
PlaceRequest gains covers_anchor. Below or above the anchor, an overlay with it
that fits on neither side but fits the bounds keeps the preferred side and its
height and slides over the anchor; only one taller than the bounds is capped.
The overlay host sets it for a layer hanging from the pointer or from the rect
a context request named, so placement's room and the first pass's content room
are the cap within the bounds, and the menu shows every row without scroll
strips. Dropdowns, menu-bar menus and submenus keep their rule.
When one apply_all batch closes several tabs of a group (Close Tab Group, or a
preset that closes panels one at a time), each closed panel's Location records
the set in closed_with. Reopening any of them restores the set in group order,
each by its own record, with the requested one in front. A tab closed in a
batch of its own stays closed: the set only counts members whose records name
each other.
The grip bar above each icon group of a collapsed column is painted
`stroke.thin` wide in `text.faint`, as the reference's faint grips, and
in `text.normal` under the pointer or while dragged.
AppKit keeps a window's bottom-left corner when its size changes (winit's
`request_inner_size` is `setContentSize`), so every size the app sent moved
the window's top edge by the height it gained or lost: a collapsed dock
palette expanded by its double arrow grew upward, often past the top of the
screen, and the dock then recorded that place as the user's. `act` follows
each `SetInnerSize` on macOS with the top-left corner the caller knows the
window at.
The test kit gains `AppKitWindow`, which runs window commands as AppKit
does; the macOS dock trials use it. New trials: a palette collapsed and
expanded by its double arrow, and a collapsed palette dragged by its title
row and by its group grip, on a Retina Mac.
Refs storytold/photocraft#15486
Divider::length has no caller since the ribbon groups fill their line; its story and trial go with it (the filling
divider trial stays). docs/contract-api.md is regenerated with the contract-api bin and lists ContainerProps::least_height
and Row::least_height.
A go_to with a fraction above 0 started from the end of the row above, so the point landed one page gap below the
view's top. Only Go To a page's top (fraction 0) puts the view's top where the row above ends.
A page or end move a control in a row leaves untaken (a segmented control, whose own roving group takes no page keys)
goes to the collection, its rows' scroll owner, but the collection never read the queued moves, so nothing scrolled.
scroll_rows takes them and pages the rows.
At its level a unit ran bounded at exactly the width its Count probe measured, so content that took that width could
wrap on a rounding. It runs at that width plus measure_tolerance, as other bounded re-runs of measured content do.
The content of a levelled unit stood on the row's line for every purpose, so each direct child of a unit took a slot
as tall as the line and reported its line to the row: a unit of two controls was two lines high. The unit's content
takes the line only to fill it (`fill_size`, `line_height`); its children are placed in the unit's own flow and
report nothing to the row (`RowLine::places`).
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.