From 0992237411899979f3f110ae941c6cd8a62e441b Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Thu, 7 Aug 2025 19:20:07 +0200 Subject: [PATCH] Fix wallpaper selector height --- Widgets/SettingsWindow/SettingsWindow.qml | 8 ++++---- .../SettingsWindow/Tabs/Components/WallpaperSelector.qml | 3 --- shell.qml | 3 --- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Widgets/SettingsWindow/SettingsWindow.qml b/Widgets/SettingsWindow/SettingsWindow.qml index 5462e18..efb2e3c 100644 --- a/Widgets/SettingsWindow/SettingsWindow.qml +++ b/Widgets/SettingsWindow/SettingsWindow.qml @@ -317,7 +317,7 @@ PanelWithOverlay { } - ColumnLayout { + Item { id: settingsContainer anchors { @@ -332,15 +332,15 @@ PanelWithOverlay { Loader { id: settingsLoader - Layout.fillWidth: true - Layout.fillHeight: true + anchors.fill: parent sourceComponent: generalSettings active: true } - // Wallpaper Selector Component + // Wallpaper Selector Component - positioned as overlay WallpaperSelector { id: wallpaperSelector + anchors.fill: parent } } diff --git a/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml b/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml index 6fb1fd9..c70f783 100644 --- a/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml +++ b/Widgets/SettingsWindow/Tabs/Components/WallpaperSelector.qml @@ -16,9 +16,6 @@ Rectangle { wallpaperOverlay.visible = true; } - Layout.fillWidth: true - Layout.fillHeight: true - color: Theme.backgroundPrimary visible: false z: 1000 diff --git a/shell.qml b/shell.qml index e5c3f0e..e79abc0 100644 --- a/shell.qml +++ b/shell.qml @@ -13,9 +13,6 @@ import qs.Widgets.SettingsWindow import qs.Settings import qs.Helpers -import "./Helpers/IdleInhibitor.qml" -import "./Helpers/IPCHandlers.qml" - Scope { id: root