A PDF preset names a flattener preset and never holds custom flattener
options, so while the flattener select shows [Custom] the settings no
longer match the chosen preset. The preset row now reads
"<name> (modified)" while `custom_flattener` is on, as it does for any
changed setting, and shows the preset's name again once it is off.
The quiet field's resting fill is surface.background (WordCraft's t.ribbon), the quiet look implies the muted placeholder, and the quiet_field doc link resolves.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
PreferencesLayout::Classic draws the paged body as a desktop preferences dialog does:
the page list in a frame as tall as the page (SectionList::framed) with room before the
page, no heading over the page, and each titled group a GroupBox. The window puts OK,
Cancel, Prev and Next in a column at the end edge (ButtonPlace::Side) and opens at
1030 x 660; Prev and Next step through the listed pages and wrap. Paged and Cards are
unchanged. PreferencesPageOutput::pages lists the page ids the search keeps.
For storytold/photocraft#17014.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A panel at its narrowest width offers its body less room than
size.plot.width (240 pt, 300 pt at comfortable density). The preview
pane still drew that wide and ran past the panel's edge: picture_width
clamped the offered room up to its least width, and the pane's style
also set its least width as min_size.
picture_width now takes an offered room below its least width, down to
size.plot.height (or the least width when that is smaller). Without a
room, or at its least, it is still the least width, so a dialog sized
from its content keeps the preview as wide as before. The preview pane,
the Navigator preview, the histogram plot and the reading view drop
the plot width from their min_size and keep its height.
With no row picked, Enter in a list manager's name box did nothing, while a click on the
first action ran it. The name box drives the list, so the key router sent Enter to the list
as an activation, and a list with no lead row took it without acting on it. The list manager
also turned the dialog's Enter rule off, so the default button could not take the key.
- ui-contract: a collection records whether it has a lead row, and a text field that drives a
collection without one keeps Enter as its submit. A driven target that records nothing (a
menu) still takes Enter.
- ui-patterns: `ListManager` turns `close_on_enter` on, so Enter runs the first action while it
is enabled, as its doc says. Enter on a lead row the name box no longer names (a name typed
after picking a row) runs the first action on the typed name instead of the row's.
The OS gives an OS window no press that went down in another window, so DockArea::continue_move had no effect
on a window the dock opens as one. The window shows in the app window while the press moves it: it follows the
pointer, marks where it would land and docks on release, as a tab drag does.
The in-place palette face drew TextField::search at the field look: field fill and
the control edge, so in a title bar it read as a heavy outlined white box.
Add TextField::quiet (style key) and StyleCx::quiet_field: surface.chrome fill at
rest, surface.sunken under the pointer and while focused, line.border edge at rest
(line.divider disabled). Focus and invalid edges stay the field's own. CommandPalette::quiet(bool)
passes it to both the closed and open in-place field; default false, so the dialog
face and other users are unchanged.
For storytold/wordcraft#7682.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The preview column, the pane grid, each pane row and each pane were
sized to their content, so a pane stayed at the plot's least height
(about 144 pt) beside a settings column three to six times taller, and
the dialog showed empty space below the panes. The preview column now
fills the row it shares with the settings, its rows of panes share that
height below the zoom row, and each pane takes its row's height above
its two caption lines. The dialog keeps its size.
Test: it::form_dialogs::save_for_web::the_preview_panes_take_the_height_beside_the_settings
The window opened at DEFAULT_SIZE (1040 by 800) with the page list, or
the cards' own size, and a host had no way to choose another. `size`
opens it at the given size until the user resizes it. The window's least
size still applies, and a size that is not finite is ignored. Without
`size` the window opens as before.
With page_steps, the window's footer starts with Previous and Next
buttons. They show the page before and after the shown one among the
pages the search lists, and each is disabled at its end of the list.
Only the paged layout shows them; a window of cards scrolls from page to
page and keeps its narrower minimum width.
PreferencesPageOutput::listed reports the ids of the listed pages, which
the window reads to find the neighbors of the shown page.
TabStripOutput reports the overflow button's rect and access node id while
some tabs do not fit. The dock group passes it on (DockGroupOutput::overflow,
through the memoized tab row so a replay moves it with the row), and the dock
area reports it beside the group's tabs as SourceKind::Overflow, named by the
group's first panel, so a host can give the button an automation id.
A host body keeps its presses and its egui focus, so the group takes
no focus and DockAreaOutput::focused never names the panel clicked
into. BodyCx::pressed_within reports a primary press in the body's
rect on its layer whatever took it, sharing the press geometry with
surface_pressed, and the dock area reports the group's shown panel as
pressed.
A file drop on a floating OS window reports the shown panel of the group under
the drop, from the drop session's pointer; the first group's on the title row or
when no pointer is known. ui-docking.md covers documents, swatches, raise and
WindowFiles.
PanelSpec::documents lists what a panel shows (a Timeline's compositions) as tabs
after the group's panel tabs, in the same strip: one fit, one overflow menu, one
keyboard order. A pick reports DockEvent::DocumentPicked and activates the panel;
a close reports DockEvent::DocumentClosed. PanelSpec::swatch and
PanelDocument::swatch show a data colour in the tab's icon slot.
An OS window gets WindowAction::Focus; a window on a layer goes to the top of
egui's area order through overlay::raise, which now raises floating windows too.