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: auto-size paperbutton to content width

+11 -10
+11 -8
ui/components/buttons.slint
··· 6 6 callback clicked; 7 7 8 8 height: 28px * Theme.font-scale; 9 - min-width: 100px; 10 - preferred-width: 160px; 11 9 12 10 accessible-role: AccessibleRole.button; 13 11 accessible-label: root.text; ··· 38 36 animate background { duration: 120ms; } 39 37 animate border-color { duration: 120ms; } 40 38 41 - Text { 42 - text: root.text; 43 - font-size: Theme.font_xsmall; 44 - color: Theme.ink; 45 - horizontal-alignment: center; 46 - vertical-alignment: center; 39 + HorizontalLayout { 40 + padding-left: 16px; 41 + padding-right: 16px; 42 + alignment: center; 43 + 44 + Text { 45 + text: root.text; 46 + font-size: Theme.font_xsmall; 47 + color: Theme.ink; 48 + vertical-alignment: center; 49 + } 47 50 } 48 51 } 49 52 }
-2
ui/views/profile_tab.slint
··· 72 72 73 73 PaperButton { 74 74 text: root.password-is-set ? "Change emergency password…" : "Set emergency unlock password…"; 75 - preferred-width: 220px; 76 75 clicked => { root.set-password-clicked(); } 77 76 } 78 77 } ··· 257 256 258 257 PaperButton { 259 258 text: "Open config file location"; 260 - preferred-width: 180px; 261 259 clicked => { root.open-config-dir(); } 262 260 } 263 261 }