mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Merge pull request #18417 from davidmann4/fix/dialog-padding-18416
ui-egui: give dialogs a roomier margin (#18416)
This commit is contained in:
2 files changed
+3
-2
No files matched your search
@@ -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 @@
|
||||
{ "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 } }
|
||||
Reference in new issue
Block a user