The dock column bar's collapse control shows the icon set's double chevron, as
the tool rail's column toggle does, through one function that names a direction
on screen and never mirrors; the dock bar's own chevron painter goes.
Span::underline sets the span format's underline, which the text layout places
on the line box's bottom and snaps to pixels. TextRun::mnemonic underlines one
character; menu items and menu bar titles show their mnemonics with it, and a
link underlines its whole run, in place of three hand-drawn lines.
The split button's divider, the timeline track header's divider and the table
outline and grid header edges paint through Draw::rule and Draw::rule_with, the
one pixel-snapped line, instead of their own strokes.
ScrollBarLook names its kind: an overlay bar over the content, or a docked bar
beside the view with a chrome track, a divider on the side facing the view and
an inset thumb. ScrollBar::thumb is the one thumb geometry, which PartsCx::scroll
declares and ScrollBar::shapes paints; the canvas scroll bars and the timeline's
bar paint through Draw::scroll_bar instead of their own copies.
Dividers, edges and grid lines are hairlines, as the old Divider was; the drop
mark keeps its medium width. RuleLook carries a RuleWidth that the rule painter
resolves to whole physical pixels.
PartsCx::selectable_text declares a run as a selection part with a press-only
stop in no group; step 8b gives the focused one Select All and Copy; and
PaintUi::selectable_text shows it through the text widget with the run's own
galley, in the state's colours. Notice title and message, MetadataTable values
(ListRow::cell_selectable) and SelectableText use it. SelectableText loses its
Bind and Input::Text path and becomes a label whose value is its text. The
suite presses the focus registration's press-only stops when Tab reaches
nothing, instead of guessing from Input::Text and a read-only node.
A dialog starts on its first field, else its default button, else nothing. These trials' content is a plain focusable
leaf, and they test focus return and the sampler keeping key focus, so they ask for Initial::First.
An app-modal ViewportWindow with Backdrop::None, and a BlockingOverlay without a scrim, let presses through to the
window under them. The window trial presses the button under the window by position: a modal layer hides what is under
it from the accessibility tree.
The tour card is a popup that blocks and dims nothing and stays on an outside press; Backdrop::ScrimWithHole and the
cover layer's hole go with it. ViewportWindow blocks nothing until app_modal(backdrop). A modeless Dialog without a
footer ignores Escape; a modal one or one with a footer closes on it. PreferencesWindow drops modeless and takes the
shared app-modal path (blocked cursor, refused close).
A layer opened from a recorded opener returns focus to that opener's stop. ToolRailOutput::edit_toolbar carries the
button's response and ToolbarDrawer::opened_by takes it; the drawer still hangs from the rail. The toast layer is a
non-trapping scope (FocusPolicy::TAB_LAYER) whose opener is the stop focus entered it from, so the last card's end
returns focus there; an earlier card's end hands it to the next card.
A dialog opens on its first text or number field, else its default button, else nothing (Initial::FirstField, the
DIALOG policy's default). The per-dialog first-pass focus requests in Markers, Slice options and Page Setup go: the rule
gives the same field. focus::request reports whether it took effect, so a pending request outlives a measuring run.
The size samples in LayersOptionsDialog registered as a second control of their radio's label scope, so the label
named the group and left the radio without a name.
binds_scoped took any command outside the app scope that the keymap lookup picked, including other panels' bindings
ranked by fallthrough or sharing. A linked set such as the Tour's Left and Right then took the arrows from every
roving group that does not act on its moves. Only a command of a scope around the focused chain counts now.
SwatchTable's cells can be wells at the control height (`wells`), as a
palette's swatches are; SwatchPalette shows its colours that way. A theme
chip is a medium control's height by a small one's inside `space.pad.control`.
A rail button (FlyoutButton) is `size.rail.button` square.
`MeasureCx::picture_width`: a picture takes its column's room, between its
least and its most, and its least at `Proposal::Min`. CurveGraph's own rule
moves onto it. Band pictures (the point picker and the colour area, the
histogram, the vectorscope, the navigator preview, the preview pane, the
reading view) take the width at least `size.plot.width` and keep their
height; the colour wheel and disc are squares between `size.plot.height`
and `size.plot.width`.
ColorWheel, ScopePanel's plots and the ColorPicker area fill the card's
width as the old ones did.
A grid's measuring run measures each content column in the room the other
columns leave at their least. When the columns do not fit beside each other,
it asks every column for its least in a probe sweep (every leaf at its least,
no column bounded) and measures once more: a content column in the room the
others leave at their least, a fill column never below its least. Columns
whose leasts do not fit beside each other are laid out one under another
across the room, so no column is cut. The leasts and the stacked layout are
recorded for the real run.
A wrapped text's least is its widest word: a line breaks between words.
FontsPanelView's list column and ColorPicker Full's channel column no longer
collapse at card width.
A body that fills the rest of a bounded row reported only the room its
siblings left, so the row did not see that its content needed more and cut it
at the view. It now counts at its content width, and the units narrow to leave
it that.
ThumbnailSlider measures its track at the proposal it is given, and a slider's
track narrows to a short field's length at its least.
`Metrics::least_width` is the floor a least measure takes in place of
`min_size`'s width. A field keeps its 96-point floor where it takes its own
width and, in a row that shrinks it, narrows to its padding and one glyph plus
what its content measure adds there (a select face's ellipsis and chevron, a
text field's adornments).
A short row takes its shortfall from every unit in proportion to what each can
give, so all reach their least together.
The editor of a text field ran in a scope of the parent Ui, which moved the
parent's cursor back to the end of the text part after the root had taken its
place: a member after a search field started inside the field's clear button.
An enabled link, check box, radio button, switch or colour well shows the
pointing hand over its own shape, label included, through Role::hover_cursor;
a hovered part's declared cursor comes first. A scrub's source (the field, or
the label that scrubs it) shows the horizontal resize cursor. Breadcrumb
segments declare the pointing hand and PointPicker's well the crosshair.
The default stories show a column of options with a long wrapping label and
disabled options, and two unit groups side by side; members spread over nested
layouts keep their own story.
The leaf label step offers its label to a child that draws only its mark; the
child senses over mark, gap and label, so a press on the label hovers, presses
and activates it in the same pass. The queued next-pass activation goes. A label
after its control wraps with the control on its first line. BodyCx::labelled_with
shows content inside the label (LayersOptionsDialog's size samples).