Reviewer finding on #3446: the summary ended at a colon ("How much of a floating
layer stays inside the window when the user moves it, when it is placed at a
position, and ..."), and the catalog lists that line only — a variant's own doc
is never extracted. So the line is now a complete summary: the whole layer
(`Inside`, the default) or a strip of its title, with where the rule holds and
the overlay's own `bounds` in the paragraph under it. The variants keep their
detailed docs for rustdoc.
Regenerated with the branch's own generator; a second run leaves the file byte
for byte as it was. The run also picks up two entries the branch's merges added
without regenerating (`Action::restore`, and `floated`'s doc).
In a row, a bar included, the strip's least is its whole line again, so the
row's shrink step does not wrap it. It still wraps in a column narrower than
the strip. A rect with room for one line only keeps the segments on that line.
- ui-contract: `MeasureCx::in_row` says whether a component is a direct child
of a `Row` body.
Conflicts: the text editor's alignment (main's shape, this branch's `top` option, which a multi-line field asks for), and the field's drawn-face measure (main's `run`/`line` helpers).
One zoom_decimals helper serves both, so the read-only zoom texts (Navigator slider, full-window title, zoom bar
entries) agree with the zoom fields. with_zoom_precision is pub(crate). Regenerates docs/contract-api.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ui-test-kit windows.rs: main's per-viewport child events (send, the addressed CHILD_EVENTS and input_pending) with this branch's child modifiers, inserted as each child pass's first event, and the frame's command input. native.rs: both sides' imports.
resting_placement returned a stored placement that already held a size before applying Overlay::drag_bounds, and the
mount showed the layer's body at that rect, so a layer the user resized could end with its title row outside the
window under DragBounds::TitleVisible. The keep now applies to a floating layer's stored size and place, before the
default-size path, as it already did to a move and to a place the caller gives.
Trial: a_resized_layer_keeps_its_title_strip_inside_a_drag_past_the_window_edges in
crates/ui-contract/tests/it/body/placement.rs.
Panel tabs keep the framework's clip and overflow: they shrink to their first letters with the label clipped at
the tab's edge, the shown tab whole, and the tabs that do not fit go to the strip's overflow menu.
PanelTabShrink::Ellipsis goes with the option that chose it: DockConfig::tab_shrink, the group's tab_shrink,
TabStrip::panel_shrink, Tab::panel_shrink, FitMode::ShrinkToLeast, TabKind::fit_mode_for and clips_label_in,
and craft_behavior::fit::fit_to_least with its docs.
Trials: the two ellipsis trials and the helpers they alone used are removed with the option.
A collapsed column's flyout joins the floating windows' own egui area order, for every app, so the last of
them opened or pressed is on top, and the app's own windows stack with it. The per-app choice goes:
PopupLayer, Tier::BelowWindows, Overlay::popup_layer, DockConfig::flyout_layer, IconicColumn::flyout_layer
and Flyout::popup_layer, with their docs. A layer stands in the windows' tier through
Overlay::among_windows, which a flyout always sets.
Trial: a_flyout_stands_among_the_floating_windows_in_their_order replaces the flyout_layer trial in
crates/ui-patterns/tests/it/docking/columns.rs.