From 508879bbe89db9690156175a4d008bd72e98d700 Mon Sep 17 00:00:00 2001 From: ItsLemmy Date: Wed, 22 Oct 2025 09:38:16 -0400 Subject: [PATCH] Panels: Wallpaper, SetupWizrd, Launcher => Apply scale ratio --- Modules/Launcher/Launcher.qml | 4 ++-- Modules/SetupWizard/SetupWizard.qml | 4 ++-- Modules/Wallpaper/WallpaperPanel.qml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Modules/Launcher/Launcher.qml b/Modules/Launcher/Launcher.qml index f8ee5db1..bb4bf534 100644 --- a/Modules/Launcher/Launcher.qml +++ b/Modules/Launcher/Launcher.qml @@ -11,9 +11,9 @@ NPanel { id: root // Panel configuration - preferredWidth: 500 + preferredWidth: 500 * Style.uiScaleRatio + preferredHeight: 600 * Style.uiScaleRatio preferredWidthRatio: 0.3 - preferredHeight: 600 preferredHeightRatio: 0.5 panelKeyboardFocus: true diff --git a/Modules/SetupWizard/SetupWizard.qml b/Modules/SetupWizard/SetupWizard.qml index d8f79bb7..0492ea57 100644 --- a/Modules/SetupWizard/SetupWizard.qml +++ b/Modules/SetupWizard/SetupWizard.qml @@ -10,8 +10,8 @@ import qs.Widgets NPanel { id: root - preferredWidth: 520 - preferredHeight: 600 + preferredWidth: 520 * Style.uiScaleRatio + preferredHeight: 600 * Style.uiScaleRatio preferredWidthRatio: 0.4 preferredHeightRatio: 0.6 panelAnchorHorizontalCenter: true diff --git a/Modules/Wallpaper/WallpaperPanel.qml b/Modules/Wallpaper/WallpaperPanel.qml index 6711fbef..3fe75f69 100644 --- a/Modules/Wallpaper/WallpaperPanel.qml +++ b/Modules/Wallpaper/WallpaperPanel.qml @@ -12,8 +12,8 @@ import "../../Helpers/FuzzySort.js" as FuzzySort NPanel { id: root - preferredWidth: 640 - preferredHeight: 480 + preferredWidth: 640 * Style.uiScaleRatio + preferredHeight: 480 * Style.uiScaleRatio preferredWidthRatio: 0.4 preferredHeightRatio: 0.52 panelAnchorHorizontalCenter: true