From 607dc1311df3276a0584e4bd2e35bd90b9c967dc Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Tue, 20 May 2025 16:15:03 +0800 Subject: launcher: limit width to less of screen --- modules/launcher/WallpaperList.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/launcher/WallpaperList.qml b/modules/launcher/WallpaperList.qml index 8c3afb2..fd703f2 100644 --- a/modules/launcher/WallpaperList.qml +++ b/modules/launcher/WallpaperList.qml @@ -11,7 +11,7 @@ PathView { required property TextField search required property PersistentProperties visibilities readonly property int numItems: { - const screenWidth = QsWindow.window?.screen.width - BorderConfig.thickness * 2 - BorderConfig.rounding * 4 - Appearance.padding.large * 2; + const screenWidth = QsWindow.window?.screen.width * 0.8; if (!screenWidth) return 0; const itemWidth = LauncherConfig.sizes.wallpaperWidth * 0.8; -- cgit v1.2.3-freya