Table Design › Table Styles (crates/ui-egui/src/ribbon/galleries.rs)
omitted .thumb(ThumbSize::Large) and .aspect(...), unlike sibling Styles
and Style Sets galleries. Gallery therefore fell back to ThumbSize::Medium
with a square aspect ratio, shrinking the 112×74 pt (3:2) table previews
into cramped strips with empty space above and below.
Configure .thumb(ThumbSize::Large).aspect(ThumbAspect::new(3, 2)) to match
table_style_image's 3:2 landscape ratio and v0.18.1's ribbon tile height,
and add a focused regression test in crates/ui-egui/src/ribbon/tests.rs.
- Run mini toolbar members with GroupLevel::Compact and ControlPlace::Ribbon env overrides so SplitButtons suppress button face text labels while retaining tooltips and accessibility, and ComboBox controls size by content.
- Update Grow Font and Shrink Font controls to 24 pt Buttons matching Row 1 control height.
- Re-enable and update mini toolbar regression tests verifying toolbar width constraint (< 350 pt), height alignment, and hover previews.
In Insert › Chart and Change Chart Type dialogs (dialogs_chart.rs),
the chart types TileGrid configured a 3-column gallery without thumbnail
sizing, causing tiles to expand to the default card size (128 pt compact /
160 pt comfortable, resulting in ~132×104 pt cells). This caused the
3-column grid to balloon over ~420 pt in width, crowding the modal dialog.
Configure .thumb_size(ThumbSize::Large).zoom(1.6).aspect(19.0 / 15.0) on
the chart types TileGrid, producing ~76.8×60.6 pt preview pictures in
~85×87 pt cells within a ~280 pt grid, matching pre-refactor parity
(~112×92 pt cells with 76×60 pt preview pictures). Add a regression test
verifying cell and grid bounds.
In crates/ui-egui/src/ribbon/table.rs, the Table Layout › Table › Select menu
button previously passed None as its command binding, leaving the menu button
face permanently enabled even when the selection was outside a table.
Bind the menu button to Some("table.selectTable") (which is gated by in_table),
so that the Select button accurately disables when outside a table, matching
pre-port ribbon behavior. Add regression test assertions in ribbon/tests.rs.
In Text Effects › Transform (wordart_menus.rs), the warp effects TileGrid
did not configure thumbnail sizing, causing tiles to expand to the default
card size (128 pt compact / 160 pt comfortable, resulting in ~132×93 pt
cells). With 4 columns, this expanded the dropdown menu to ~554 pt in width.
Set .thumb_size(ThumbSize::Small) on the TileGrid, rendering compact preview
tiles (~46×32 pt) and keeping the 4-column menu around ~200 pt wide with
crisp previews, matching pre-refactor parity. Add a regression test verifying
tile and grid dimensions.
* deps: bump craft-libs pin to next to activate merged File rail icons (#2569) and Styles gallery well (#7371)
Bump craft-libs pin to e953d47a378776dea207899b10baf969fc8cbe53 to activate
upstream fixes for File rail icons on Brand/Scrim surfaces (craft-libs#2569)
and Home › Styles gallery sunken well surface in Dark Mode (craft-libs#2986).
Update DOCX settings fixtures to provide external mail merge relationship targets
matching craft-docx source preservation (craft-libs#2349) and assert source rel ID resolution.
Tracks #7149 Item 4 and C3-7 in EPIC #7317. Closes#7371.
* deps: keep the DOCX test edits out of the pin bump
The settings merge fixture changes and the zoom trial do not belong to a
craft-libs rev move. The mail-merge fixtures already landed on main in
1094d3c3 and cc9778eb, and both craft-docx fixes are in the current pin.
The remaining coverage moves to its own DOCX test pull request.
* #7464: Mini toolbar anchors at the right edge in right-to-left paragraphs
The bar sat at anchor.min.x + inset, the end of a selection that starts in an
RTL paragraph. Mirror it to anchor.max.x - inset when the paragraph where the
selection starts is RTL. Adds an RTL test and a multi-line LTR test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* #7464: Anchor the mini toolbar at the whole line's edge in mixed-direction RTL lines
visible_anchor kept only the first emitted run of the topmost line; runs come out left to right, so an RTL line with several runs anchored at the leftmost run's right edge. Union the runs on that line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* #7464: Union line runs for the mini toolbar anchor in RTL only
Vertical text stacks whole lines at one y-range, so the union moved the left-to-right anchor off the first line. Left to right keeps the first rectangle again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
In Insert › SmartArt (dialogs_smart_art.rs), the layouts picker TileGrid
did not configure thumbnail sizing, causing tiles to expand to the default
card size (128 pt compact / 160 pt comfortable, resulting in ~136×154 pt
cells). This caused three rows to take ~482 pt in height, overflowing the
dialog's 304 pt viewport budget and pushing detail/footer controls out
of view.
Set .thumb_size(ThumbSize::Large).zoom(1.4) on the layouts TileGrid,
producing 67.2 pt thumbnails in 75.2×93.2 pt cells that cap at 299.6 pt
for 3 rows, matching pre-refactor parity (~96×96 pt cells within
PICKER_HEIGHT = 304 pt). Add a regression test verifying cell and grid
dimensions.
Configure StartScreen in File › Home with the active region's portrait page
aspect (17:22 Letter or 70:99 A4), a fixed card zoom factor of 1.0 (~150 pt
card width without filling the row), and white paper behind page pictures.
Update File › New template grid to use the region's page aspect and render
cards with Cover fit and white paper. Remove thumbnails from File › Open's
RecentList to restore production plain list rows without letterbox bars.
Tracks #7149 items 2 and 3.
Follow-up to #7311 and PR #7315.
In crates/ui-egui/icons/discord.svg, restore class="accent" (with #1E6FD9
fill fallback) so the Help › Community Discord ribbon button retains its
distinct brand accent coloration.
Add a dedicated single-ink discordPill.svg icon without class="accent"
(using pure currentColor fill) registered in WORDCRAFT_ICONS_TABLE as
IconId::new("discordPill"), and reference it in the title bar's compact
and full pill button variants (crates/ui-egui/src/chrome/title_bar.rs).
This ensures optimal on_strong contrast against the filled accent.strong
background in both light and dark themes.
Add an asset attribution entry in ATTRIBUTION.md and a regression test in
crates/ui-egui/src/chrome/tests.rs verifying that the title-bar Discord button
paints in text.on_strong while the Help ribbon button renders in accent.solid.
In crates/ui-egui/src/ribbon/galleries.rs (pub(crate) fn wordart), the
Decorative Text / WordArt Styles TileGrid called .content_cells() without an
explicit thumbnail sizing constraint. Because TileGrid defaults picture_side
to tokens.size.thumb.card and .content_cells() ignores thumb_size/zoom, each
WordArt tile expanded to ~132×119 pt.
Replace .content_cells() with .thumb_size(ThumbSize::Small).zoom(2.0)
so each WordArt style tile renders at compact dimensions (~40×36.4 pt with
ThumbAspect::new(10, 9)), matching pre-refactor ribbon dropdown parity. Add
a regression test verifying compact tile bounds.
* Ribbon: compact tile sizing for Home › Bullets library dropdown (#7323)
In the Home › Bullets dropdown popup (bullets_menu), the Bullet Library
grid tiles were rendered with .content_cells() without an explicit
thumbnail sizing constraint, causing each bullet tile to expand to default
card dimensions (~132×132 pt).
Replace .content_cells() with .thumb_size(ThumbSize::Small) so the
Bullet Library renders compact square bullet previews (~22×22 pt), matching
pre-refactor ribbon dropdown parity. Add a regression test verifying the
compact tile dimensions.
* Ribbon: bind command IDs for Table Styles, Borders, Delete, and AutoFit menus (#7324)
In crates/ui-egui/src/ribbon/table.rs, bind command IDs for four table
ribbon menu buttons (Styles -> table.style, Borders -> table.borders,
Delete -> table.deleteTable, AutoFit -> table.autofit) instead of None.
In crates/ui-egui/src/ribbon/common.rs, update menu_button to apply the
bound command's hint/tooltip when the command is disabled.
This ensures that menu button availability, disabled states, and disabled
tooltips accurately reflect engine command state and document protection rules.
---------
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
In the Home › Bullets dropdown popup (bullets_menu), the Bullet Library
grid tiles were rendered with .content_cells() without an explicit
thumbnail sizing constraint, causing each bullet tile to expand to default
card dimensions (~132×132 pt).
Replace .content_cells() with .thumb_size(ThumbSize::Small) so the
Bullet Library renders compact square bullet previews (~22×22 pt), matching
pre-refactor ribbon dropdown parity. Add a regression test verifying the
compact tile dimensions.
Co-authored-by: Martin Ball <martin.ball@ucscaregroup.co.uk>
- Group status bar controls using outer Gap::Section spacing between Focus, view mode buttons, and zoom controls.
- Group view mode buttons (Read Mode, Print Layout, Web Layout) in an inner row with Gap::Item spacing.
- Adjust Zoom slider size with ControlSize::Md to match the 14pt icon proportions of adjacent zoom icon buttons.
- Add regression test asserting view mode toggle button spacing/grouping and slider thumb size.
ListRow::below lays its components out in one line. With the licence text
and the error notice both there, the licence took the row's width and the
notice was squeezed to a few pixels; in CI it dropped out of the tree. The
licence goes into the row's lines, and the notice (or the progress bar) is
alone below. The trial checks the reason is at least as wide as Install
and inside the list.
The app-window harnesses built a ui closure that made the app's input inside a
pass and handed it to the runtime when the next pass began, so each pass ran
on the previous pass's input and the build pass had none. The page picture
loader fixes its job queue from the host it first sees, so in tests it took
the default thread queue instead of the app's host jobs, and the big-table
scrolling test read the resident picture count before those threads finished:
it failed intermittently on loaded runners (Windows).
The harnesses now build with kittest's `build_eframe` over a test-only
`eframe::App` for `WordApp` whose `raw_input_hook` calls `embed::before_input`,
as the desktop driver does. `driver_logic`, `HandOver` and its pending input
are gone.
The scrolling test gives the app a host with `ManualJobs`, runs the queued
renders after each scroll step and checks that the renders use the host's
jobs. Its table and scroll steps are smaller; the relations are unchanged.
Key chords fire their command in the runtime's key stage, which the app reads
before the next pass, as on the desktop: the chord rows step twice.
ui-egui declares `craft`'s `ui-testing` for its own tests, so they build
without the workspace's feature union.