lock: increase large screen size

Also move to config
This commit is contained in:
2 * r + 2 * t 2025-06-25 16:44:53 +10:00
parent 4d563a38af
commit 8028deb62a
2 changed files with 3 additions and 2 deletions

View file

@ -17,5 +17,6 @@ JsonObject {
property int mediaCoverSize: 150
property int mediaCoverSizeSmall: 120
property int mediaCoverBorder: 3
property int largeScreenWidth: 2560
}
}

View file

@ -71,7 +71,7 @@ WlSessionLockSurface {
locked: root.locked
weatherWidth: weather.implicitWidth
isLarge: root.screen.width > 1920
isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth
visible: false
}
@ -111,7 +111,7 @@ WlSessionLockSurface {
MediaPlaying {
id: media
isLarge: root.screen.width > 1920
isLarge: root.screen.width > Config.lock.sizes.largeScreenWidth
state: isLarge ? "tl" : "br"
states: [