While a measuring run lays out a field group, a row only sees the label
column that the rows before it reported. A check box row with its label
after it, above the first row with a side label, saw no column. A row
beside a label narrower than the widest saw a narrower column. Both
measured their help line wider than the control column of the real run,
so the footer was sized for fewer lines and the last line was cut off.
The label step now notes the column such a row read when the row has a
help line, so the group runs its rows again at the final widths. This
covers a label after the control, a label beside it and a hidden side
label.
The fixture's shown rect grows with whatever the row allocates, so a
button that overflowed the column also widened it and the check passed.
The room starts at x = 0, so the test now compares the button's right
edge with the requested width.
PathRow showed its FillWidth text field in a content-sized Row, where a
filling leaf keeps its measured width. The field stayed at its full field
length and the row narrowed the Browse button instead, so in a column
narrower than about 280 pt the label was cut to "Brows...". The row now
fills its width: the field takes the room the button leaves.
CardText::PageTile is a page card whose rest state lays a light veil of
surface.scrim over the surface under it. Hover, pressed and selected
fills and the selection edge are the same as CardText::Page, which keeps
its flat card. PresetCardLook::PageTile shows New Document's preset
cards this way. No default changes: the start page and apps that set
PresetCardLook::Page draw as before.
Stories show both new looks. Tests check that a PageTile card paints the
veil at rest and a Page card paints no fill, and that New Document's
PageTile cards rest on the veil with the paper on it while the selected
card takes the hover fill.
A group or panel taken out of a column collapsed to icons kept the
column's collapsed state in its new column. A group dragged out of an
icon column by its grip floated as a strip with a flyout: the tab names
were cut off and a click on a tab did not switch the panel.
A new column, floating or docked, now stays collapsed only when it holds
the whole column it came from. When other panels stay behind, the new
column is expanded. Groups that join an existing column still keep the
source column's state, so their flyout widths are unchanged.
An icon dragged out of a collapsed column that keeps other panels now
starts a plain group drag, so the float preview and the window rect match
the expanded window that the drop makes.
While the app moved a floating window shown in an OS window, the dock
area recorded the window's new place (Action::SetNative) in every pass
of the drag. Each record was a workspace edit, which changed the
workspace revision and rebuilt the dock's kept specs, titles and
geometry in every frame of the drag.
FloatingGroupOutput gains `moving`, kept in the group's memory from a
move's Begin to its Commit or Cancel. DockArea skips native::reported
while it is set; the Commit pass and the passes after it record the
place where the window was let go.
The new trial counts the placement records during a six-step drag of
a palette the app moves: 6 without the change, 0 with it, and the
release still records the final place.
TitleBar puts space.gap.item between its leading controls (it used
space.gap.row, 5 pt in the compact sizes), and show_fitted lays out the
trailing controls at space.gap.item as well.
Overlay::dropdown() sets the new Overlay::off_edge: an anchored dropdown
stays space.pad.regular inside the window's edges, except where its field
reaches nearer the edge. The fit's cap is still a share of the window.
A content-sized collection whose rows run past its room ends on the last
row that fits whole and scrolls the rest, so a Select list no longer ends
part way through a row.
The workspace switcher's doc comment says its commands are in the More
options menu of the list's header.
Clicking the Optimize rows' OK while Desired File Size held text that does
not parse filed a search with the size the rows held before. Clearing the
field had the same effect for both OK and Enter, since the field took empty
text as a blank value and the rows kept their old size.
The size field now holds an f32, which has no blank value, so empty text
does not parse either, and OK is disabled while the field's text does not
parse, as the parameter dialogs hold their OK. Enter in the field already
filed nothing for text that is not a number.
Conflicts:
- ui-contract items/hooks.rs: rest_lead takes no placement here; main's
lead focus ring block is kept as main wrote it.
- ui-panels docking/mod.rs: main's FocusLook import kept; the memory::sub
import goes, since the dock no longer keeps pass frames in memory.
Follow-ups of the merge:
- MeasureCx::in_row (main) reads row_alone_room from the component's
scope env, as column_room does here.
- The split-handle focus ring trial (main) passes SplitArea's revision.
Mark TransformBox::handle_side and PreferencesWindow::size as point
quantities the host supplies, and make CheckContext #[non_exhaustive].
#3855 and #3738 are reverted above: they read egui memory, raw keys and
pointer clicks outside runtime::egui.