feat: add screen height to font functions in Config. Added actions, inline Reply and urgency to NotificationBody

This commit is contained in:
Hannes
2026-08-29 22:48:53 +02:00
parent 095839c45a
commit bd59a8e457
5 changed files with 351 additions and 290 deletions
+5
View File
@@ -20,6 +20,11 @@ QtObject {
function font_size_small(spaceHeight) { return Math.floor(spaceHeight * 0.625) }
function font_size_tiny(spaceHeight) { return Math.floor(spaceHeight * 0.4) }
function screen_height_to_font_tiny(screenHeight) {return Math.round(9 * screenHeight / 1080)}
function screen_height_to_font_small(screenHeight) {return Math.round(12 * screenHeight / 1080)}
function screen_height_to_font_medium(screenHeight) {return Math.round(16 * screenHeight / 1080)}
function screen_height_to_font_big(screenHeight) {return Math.round(22 * screenHeight / 1080)}
readonly property int small_radius: 8
readonly property int radius: 16
function small_radius_fun(barHeight) { return Math.floor(barHeight / 8) }