a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ui): allow resizable settings gui, better default sizing

+9 -2
+7
src/main.rs
··· 208 208 } 209 209 210 210 mgr.window().show().unwrap_or_default(); 211 + // Force the window to its intended size after the first 212 + // show(). On Linux/X11 the WM may not honour with_inner_size 213 + // during initial window creation; an explicit set_size after 214 + // mapping ensures the layout is computed at the right height. 215 + mgr.window().window().set_size( 216 + slint::LogicalSize::new(760.0, 680.0), 217 + ); 211 218 settings_mgr = Some(mgr); 212 219 } 213 220 Err(e) => log::warn!("Failed to create settings window: {e}"),
+2 -2
ui/settings.slint
··· 515 515 // ═══════════════════════════════════════════════════════════════════════════════ 516 516 export component SettingsWindow inherits Window { 517 517 title: "ioma — Settings"; 518 - width: 760px; 519 - height: 680px; 518 + preferred-width: 760px; 519 + preferred-height: 680px; 520 520 background: Theme.bg; 521 521 default-font-family: "Nunito"; 522 522