From bf0e06ef0351993d9383e005080481d1867cbff3 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Thu, 7 Aug 2025 10:01:38 -0400 Subject: [PATCH] Removed dead code, semiBold icons in the Settings tabs --- Widgets/SettingsWindow/SettingsWindow.qml | 3 +-- .../Tabs/Components/WallpaperSelector.qml | 4 +++- Widgets/SettingsWindow/Tabs/General.qml | 2 -- shell.qml | 14 -------------- 4 files changed, 4 insertions(+), 19 deletions(-) diff --git a/Widgets/SettingsWindow/SettingsWindow.qml b/Widgets/SettingsWindow/SettingsWindow.qml index 625d579..a7de10d 100644 --- a/Widgets/SettingsWindow/SettingsWindow.qml +++ b/Widgets/SettingsWindow/SettingsWindow.qml @@ -341,8 +341,6 @@ PanelWithOverlay { // Wallpaper Selector Component WallpaperSelector { id: wallpaperSelector - - anchors.fill: parent } } @@ -441,6 +439,7 @@ PanelWithOverlay { Layout.alignment: Qt.AlignVCenter horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter + font.variableAxes: { "wght": (Font.Normal + Font.Bold) / 2.0 } } Label { diff --git a/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml b/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml index 9ccb6fb..6fb1fd9 100644 --- a/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml +++ b/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml @@ -16,7 +16,9 @@ Rectangle { wallpaperOverlay.visible = true; } - anchors.fill: parent + Layout.fillWidth: true + Layout.fillHeight: true + color: Theme.backgroundPrimary visible: false z: 1000 diff --git a/Widgets/SettingsWindow/Tabs/General.qml b/Widgets/SettingsWindow/Tabs/General.qml index ab9b03d..a600643 100644 --- a/Widgets/SettingsWindow/Tabs/General.qml +++ b/Widgets/SettingsWindow/Tabs/General.qml @@ -24,8 +24,6 @@ ScrollView { Layout.preferredHeight: 0 } - - ColumnLayout { spacing: 4 * Theme.uiScale Layout.fillWidth: true diff --git a/shell.qml b/shell.qml index fbdc1c9..8f44ca3 100644 --- a/shell.qml +++ b/shell.qml @@ -213,18 +213,4 @@ Scope { } } } - - Rectangle { - width: 200 * Theme.uiScale - height: 40 * Theme.uiScale - color: "#333" - anchors.top: parent.top - anchors.left: parent.left - Text { - text: "UI Scale Demo" - anchors.centerIn: parent - font.pixelSize: 16 * Theme.uiScale - color: "white" - } - } } \ No newline at end of file