Merge pull request #18417 from davidmann4/fix/dialog-padding-18416

ui-egui: give dialogs a roomier margin (#18416)
This commit is contained in:
David Mann authored and GitHub committed 2026-11-30 23:23:44 +01:00
commit db0fbd6ed6
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -271,7 +271,8 @@ fn defaults() -> AppDefaults {
}
}
/// PhotoCraft's size overrides: Photoshop's panel dock width, and 12-point Label and Mono text in the compact density.
/// PhotoCraft's size overrides: Photoshop's panel dock width, a roomier dialog margin (twice the panel padding, so
/// short questions such as "Unsaved changes" do not look cramped), and 12-point Label and Mono text in the compact density.
const SIZES: &[u8] = include_bytes!("sizes.json");
/// The size overrides, parsed once: the root keeps one `Arc` so the runtime's token and hit-size caches, which key on
+1 -1
View File
@@ -1 +1 @@
{ "all": { "size.dock.column": 290 }, "compact": { "typography.label.size": 12, "typography.mono.size": 12 } }
{ "all": { "size.dock.column": 290 }, "compact": { "space.pad.dialog": 16, "typography.label.size": 12, "typography.mono.size": 12 }, "comfortable": { "space.pad.dialog": 24 } }