A ghost push or split button in a ribbon (ControlPlace::Ribbon) has no edge at rest, so its sides
take space.pad.control instead of the corner round plus the inline gap (18 pt a side at the theme's
full pill radius). Each icon split button in the Font and Paragraph groups is ~20 pt narrower, which
the ribbon's fit needs to show those groups whole at a 1440 pt window, as the old app does.
The trial checks the ribbon button's surface against the ghost one and that it is narrower.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- RibbonGroup::open returns the content height it measured (the WIP left it unreturned).
- A ribbon's font box is a short field (size.length.short, FieldStyle::shortest), not the small
field length, which at the ribbon's small controls was the width it already had.
- Trials: ribbon buttons resolve the ghost look unless they ask for a variant; a ribbon combo box
fits its options; a ribbon font box is short and keeps its width; every open group's title sits
on one line; a 2:1 captioned gallery names its tiles under wide pictures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The stack's response rect is clipped to the pane (sense_root intersects a root's rect with its clip), so a slot laid
out one bar high measured its content as one bar high and never grew: the group row under the strip was cut off. The
slot now reads the stack body's min_rect after its content ran, plus what the pane keeps around its body (its rule).
The trial reads the lines from the slot's Ui, not from clipped responses, with a scrolling group row in a child Ui.
DIAG line kept until the screenshot confirms it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A top slot was one options bar high and laid its content in one centred line, so a ribbon's strip and group row sat
side by side in a bar-high pane and every group collapsed. A Content slot stacks its content, measures it in the real
run, keeps the extent in the shell's state and lays the window out again (discard_pass) when it moves. DIAG eprintln
at the measurement, to come out once the screenshot confirms it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A tab strip's tabs are members of its run, recorded as parts of the strip, so
ShownRow::id gives a member's sub-node id and the record's Element::node says
which node an element stands for. A press on a button moves no focus to it, so
the ribbon trial gives the control focus with a Focus request. The picture trial
carries a DIAG line for the node under the button.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Button keeps room for its widest text (room_for) and shows a rendered
picture in the leading icon's place (picture). ShownRow reports the id its
item is recorded under; the ribbon reports tab_ids from it and hosts its own
context menu (context_menu body), so RibbonOutput::menu and
RibbonMenuRequest::opener go. Stories and trials for each.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
FormCx::accept files or closes as the OK press; FormButtons::Close leaves out OK;
ListManager::name_box binds the name box; FindReplaceDialog::show_tab and
set_go_to_kinds, and options() opens Search Options; ParagraphFormat::contextual_spacing.
The departing tab fades on the Open motion, which ends within the trial's
click frames; the strip then refits by design. The check that no plain tab
takes the slot now runs right after the leave and after the overflow menu
closes, both while the fade is painted. A DIAG line reports the state after
the click.