From e92e205bdac7e57b042c3f4f7eb7626e3cc06619 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Thu, 7 Aug 2025 23:32:50 -0400 Subject: [PATCH] Don't scale 1px height divider so they look sharp everywhere --- Widgets/SettingsWindow/SettingsWindow.qml | 4 ++-- Widgets/SettingsWindow/Tabs/General.qml | 2 +- Widgets/SidePanel/Weather.qml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Widgets/SettingsWindow/SettingsWindow.qml b/Widgets/SettingsWindow/SettingsWindow.qml index f816653..cd4fa1d 100644 --- a/Widgets/SettingsWindow/SettingsWindow.qml +++ b/Widgets/SettingsWindow/SettingsWindow.qml @@ -311,7 +311,7 @@ PanelWithOverlay { } Rectangle { - height: 1 * Theme.scale(screen) + height: 1 // Don't scale divider color: Theme.outline opacity: 0.3 @@ -484,7 +484,7 @@ PanelWithOverlay { Rectangle { width: parent.width - height: 1 * Theme.scale(screen) + height: 1 // Don't scale divider color: Theme.outline opacity: 0.6 visible: index < (repeater.count - 1) diff --git a/Widgets/SettingsWindow/Tabs/General.qml b/Widgets/SettingsWindow/Tabs/General.qml index d75687e..f8807ce 100644 --- a/Widgets/SettingsWindow/Tabs/General.qml +++ b/Widgets/SettingsWindow/Tabs/General.qml @@ -119,7 +119,7 @@ ColumnLayout { Layout.fillWidth: true Layout.topMargin: 26 * Theme.scale(screen) Layout.bottomMargin: 18 * Theme.scale(screen) - height: 1 * Theme.scale(screen) + height: 1 // Don't scale divider color: Theme.outline opacity: 0.3 } diff --git a/Widgets/SidePanel/Weather.qml b/Widgets/SidePanel/Weather.qml index 37ddd98..8fbd840 100644 --- a/Widgets/SidePanel/Weather.qml +++ b/Widgets/SidePanel/Weather.qml @@ -154,7 +154,7 @@ Rectangle { Rectangle { width: parent.width - height: 1 * Theme.scale(screen) + height: 1 // Don't scale divider color: Qt.rgba(Theme.textSecondary.g, Theme.textSecondary.g, Theme.textSecondary.b, 0.12) Layout.fillWidth: true Layout.topMargin: 2 * Theme.scale(screen)