From ae2eb9d0881e3ef8317fb5476e03b9e599439660 Mon Sep 17 00:00:00 2001 From: gabeszm Date: Thu, 1 Oct 2026 21:02:47 +0200 Subject: fix sddm ui --- raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml') diff --git a/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml b/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml index 6c6b7c8..05e65ee 100644 --- a/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml +++ b/raveos-sddm-theme/sddm-rave-theme/Components/Clock.qml @@ -1,5 +1,5 @@ -// Config created by Keyitdev https://git.rp1.hu/gabeszm/sddm-rave-theme -// Copyright (C) 2022-2025 Keyitdev +// Config created by gabeszm https://git.rp1.hu/gabeszm/sddm-rave-theme +// Copyright (C) 2026 gabeszm // Based on https://github.com/MarianArlt/sddm-sugar-dark // Distributed under the GPLv3+ License https://www.gnu.org/licenses/gpl-3.0.html @@ -10,7 +10,7 @@ Column { id: clock width: parent.width - spacing: root.font.pointSize * 0.45 + spacing: root.font.pointSize * 0.65 Image { id: logoImage @@ -18,8 +18,8 @@ Column { anchors.horizontalCenter: parent.horizontalCenter source: (config.Logo && config.Logo !== "") ? Qt.resolvedUrl("../" + config.Logo) : "" fillMode: Image.PreserveAspectFit - width: Math.min(root.font.pointSize * 8.5, root.height * 0.10) - height: Math.min(root.font.pointSize * 8.5, root.height * 0.10) + width: Math.min(root.font.pointSize * 8.5, root.height * 0.10 * (root.contentScale || 0.92)) + height: Math.min(root.font.pointSize * 8.5, root.height * 0.10 * (root.contentScale || 0.92)) visible: config.Logo && config.Logo !== "" } @@ -41,7 +41,7 @@ Column { anchors.horizontalCenter: parent.horizontalCenter - font.pointSize: Math.min(root.font.pointSize * 2.4, root.height * 0.040) + font.pointSize: Math.min(root.font.pointSize * 2.4, root.height * 0.040 * (root.contentScale || 0.92)) font.bold: true color: config.TimeTextColor style: Text.Raised @@ -57,7 +57,7 @@ Column { id: dateLabel anchors.horizontalCenter: parent.horizontalCenter - + color: config.DateTextColor font.pointSize: root.font.pointSize * 0.82 font.bold: true -- cgit v1.3