launcher: limit width to less of screen
This commit is contained in:
parent
3b31c2e1c8
commit
607dc1311d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue