diff --git a/crates/ui-egui/src/sizes.json b/crates/ui-egui/src/sizes.json index 8bd8d12d0..b045d940f 100644 --- a/crates/ui-egui/src/sizes.json +++ b/crates/ui-egui/src/sizes.json @@ -1,6 +1,7 @@ { "all": { "radius.surface": 8, + "space.inset.fit": 28, "typography.body.size": 13, "typography.body_strong.size": 13, "typography.caption.size": 11, diff --git a/crates/ui-egui/src/state.rs b/crates/ui-egui/src/state.rs index 72a840161..9f3df999e 100644 --- a/crates/ui-egui/src/state.rs +++ b/crates/ui-egui/src/state.rs @@ -96,7 +96,8 @@ impl Default for UiState { ribbon_collapsed: false, view: ViewMode::Normal, notes: true, - notes_height: 52.0, + // Two lines of notes with the pane's padding: the height the pane stood at, and saved, in 0.19. + notes_height: 78.0, thumbs_width: 236.0, pane: None, pane_width: 300.0, diff --git a/crates/ui-egui/src/theme.rs b/crates/ui-egui/src/theme.rs index 5589d4d0c..ce2dbdc6c 100644 --- a/crates/ui-egui/src/theme.rs +++ b/crates/ui-egui/src/theme.rs @@ -265,7 +265,7 @@ pub fn to_color32(c: deckcraft_color::Rgba) -> Color32 { Color32::from_rgba_unmultiplied(c.r, c.g, c.b, c.a) } -/// DeckCraft's overrides of the suite's size sets (`sizes.json`): its interface type scale and surface rounding. One +/// DeckCraft's overrides of the suite's size sets (`sizes.json`): its interface type scale, surface rounding and the slide's fit margin (0.19's 28 points). One /// shared value, so every root that carries it keeps one identity for the token cache. pub fn app_sizes() -> std::sync::Arc { static SIZES: std::sync::LazyLock> =