diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-20 16:15:03 +0800 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-05-20 16:15:03 +0800 |
| commit | 607dc1311df3276a0584e4bd2e35bd90b9c967dc (patch) | |
| tree | 6cbb2874955ad9b8865d05095dfd6fb53a1f6512 /modules/launcher | |
| parent | launcher: limit wallpapers to screen width (diff) | |
| download | caelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.tar.gz caelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.tar.bz2 caelestia-shell-607dc1311df3276a0584e4bd2e35bd90b9c967dc.zip | |
launcher: limit width to less of screen
Diffstat (limited to 'modules/launcher')
| -rw-r--r-- | modules/launcher/WallpaperList.qml | 2 |
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; |