The env's offered width, the room a body's children share, came from the
container's room or, in a content-sized real run, from what all its regions
took together, less only a side label's column. The end region beside the body
(a dialog's side buttons) and an inline header were left in, so a fill-width
child widened past the body region and its clip cut its end edge. The regions
record the width they give the regions beside the body on its line, and the body
offers what is left.
A content-sized body inside a group (a row holding a stack of fields) measured
while the group's column was still narrower than its widest label, which came
later, and the real run placed it by that measure at the wider column: its
labels stacked inside a row measured for labels beside. The group's measuring
run now notes the narrowest column a row of a body that shows at its measured
width read; when that is narrower than the column ends, the sweep is taken back
and the content runs once more with the group opened at the settled widths. A
held body, shown across the column, does not count. The Through body's own
extent arithmetic goes: its rows always measure at the final column.
A section, box, stack or row inside a column group passes the group through
(Frame::Through): its labelled rows read and report the group's widths, as the
rows directly in the group do. A labelled container's body, a body on its own
mount, a scrolling body and a grid lay out apart behind a barrier. A
content-sized body measures at the group's widest label so far and hands its
rows' reach past the columns on to the frame around it, with its own padding
or the row members after the labelled one, so the group's extent covers the
widest column across its containers.
Command states are keys of the read record: a resolution a surface shows notes the state it read, the app's input notes the states it changes for the frame, and a publish notes a changed state and reruns the pass when something earlier read it. A publish is journaled, so a replayed region publishes again, and is a board effect a measuring run skips, as it skips registration. A rebuilt keymap unsettles every region. An inspection record or its pointed element changing is an edit settled readers see.
PaintShape::Polygon is any closed polygon whose edges don't cross.
kit::fill_polygon fills it as one mesh: egui's edge fade around the outline
and an ear-clipped inside, so the parts of one shape meet without a seam.
Draw fills every polygon with it.
Chart wedges and area polygons fill as one polygon each, and the eyedropper
ring band as one polygon, in place of runs of convex pieces whose faded
edges left seams between them.
ChartPrimitive::Text carries its TypeRole in place of a bold flag. The chart
story sets titles in BodyStrong and axis labels in Caption, as the old
gallery did, so the region labels no longer touch.
ChartPrimitive lines paint solid or dashed in the theme's dash pattern, and
every stroke (rect, polygon, wedge, circle) paints. Widths are a named theme
width or a document width that scales with the chart's zoom. Draw::dashes
gives the theme's dash pattern. The chart story draws its axes, gridlines
and wedge gaps hairline, as the old gallery did.
- HeaderColumns: one set of header columns per pass, worked out from the model before the view shows. The switch
columns are the ones some track has; the name column is the widest track name with its pads and indent, or the
width the user dragged; the headers are at least as wide as the timecode and toolbar block over them. Every pane's
TrackStack, the top strip's head column and the TimelineView's inset (header_extent) take the same extent.
- The top strip's head column is the header extent and its columns touch; the marker strip and the ruler sit in a
fill-width stack, so they span the time area from where the lanes start.
- BodyLayout::grid takes owned or borrowed columns.
- TimecodeField::large keeps the timecode face (equal-width digits), so its widest sample is its widest text.
- MeasureCx::field_text: an editable text's room with the caret past its last letter. TextField, NumberField,
TimecodeField, DateField, ComboBox and the font picker size by it.
- Trial: the ruler starts where the lanes do, and no header has a column no track has.
Only a member in flow is judged: a part shown at a rect and a control in a label scope belong to the member around
them, and a labelled leaf is hidden together with its label. Containers that fill keep their content width in a
bar (a Field fills by default), so only a leaf that fills takes the room the view leaves.
A leaf or a captioned field in a bar's scrolling body that the view shows only in part gets an empty clip: it
neither paints nor takes the pointer until a scroll brings it in whole, and it keeps its Tab stop, so the reveal
scrolls it in. Fields were cut at the bar's scroll edge.
The scroll made the room unbounded along x, so Slider::fill_width, TextField fill and fill-width rows in a bar
kept their measured widths. The room a row shrinks to and the room a filling child fills are now the one view room;
a share there never cuts the child's content, which scrolls.
The scrolling branch ran its row without the shared line, and the end region centred over the band an
overflowing body's scroll bar adds under it: a bar's commit and cancel buttons sat below its members.
A content-sized body given a shrink cap in a right-to-left scroll region measured from the region's far end,
where its field took no width, so a bar too short for its members laid out differently from left-to-right.
- The command board judges a resolution from a Vantage: the modal facts and the focus. Its own is the key
focus of the pass; resolve_beneath and fire_beneath judge from the window under the modal layer whose body
is running, as it is once that layer closes (the modal layers below it, the stop focus returns to, that
stop's chain and edits). key_layer takes the layer to count below; keys::owner_at gives the key owner there.
- The palette resolves its rows beneath its own layer, so its modal blocks none of the app's commands, and
runs a pick itself: focus returns from its layer (return_from_pick, which also serves menu picks), then the
command fires as FireSource::Palette. Its list fills the box width.
- A row's disabled state takes text.disabled in row_ink_of, for list, option and menu rows alike; the menu
row drops its own copy.
- A keyed activation skips a disabled lead, as a press does.