From 5343fd10ffcefed09141c478b42f55085d801112 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 11 Oct 2026 14:49:19 +0000 Subject: [PATCH] LR-EXP-TYPE: the Export dialog is 615 pt wide with JPEG XL in the format row Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BKWB9TCnvzJHV6xMLAj2J4 --- crates/ui-egui/src/tests_dialog_fit.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/tests_dialog_fit.rs b/crates/ui-egui/src/tests_dialog_fit.rs index 5c4f1a83..895a1d86 100644 --- a/crates/ui-egui/src/tests_dialog_fit.rs +++ b/crates/ui-egui/src/tests_dialog_fit.rs @@ -93,10 +93,10 @@ fn export_dialog_is_unchanged_in_a_tall_window() { let h = export_dialog([1600.0, 1000.0]); assert_fits(&h, "Export at 1600×1000"); let dialog = rect(&h, "dialog:window"); - // (846 tall as before #781: the whole dialog, nothing scrolled away; 546 wide since the - // watermark's nine positions, #833) + // (846 tall as before #781: the whole dialog, nothing scrolled away; 615 wide since the + // format row gained JPEG XL, #780) assert!((dialog.height() - 846.0).abs() <= 1.0, "{dialog:?}"); - assert!((dialog.width() - 546.0).abs() <= 1.0, "{dialog:?}"); + assert!((dialog.width() - 615.2).abs() <= 1.0, "{dialog:?}"); } // Scenario: other long dialogs fit a short window too, with their buttons on screen