summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-20 16:15:03 +0800
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-05-20 16:15:03 +0800
commit607dc1311df3276a0584e4bd2e35bd90b9c967dc (patch)
tree6cbb2874955ad9b8865d05095dfd6fb53a1f6512 /modules
parentlauncher: limit wallpapers to screen width (diff)
downloadcaelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.tar.gz
caelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.tar.bz2
caelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.zip
launcher: limit width to less of screen
Diffstat (limited to 'modules')
-rw-r--r--modules/launcher/WallpaperList.qml2
1 files changed, 1 insertions, 1 deletions
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;