Keep wallpaper selector drawer below the status bar

Pass topMargin to the WallpaperSelector in landscape/horizontal mode
so the drawer does not overlap the top status bar.
This commit is contained in:
Marco Allegretti 2026-05-04 09:47:40 +02:00
parent b0438bdf48
commit c2f4c8ad88

View file

@ -924,6 +924,7 @@ ContainmentItem {
maskManager: root.frontMaskManager
horizontal: root.width > root.height
edge: horizontal ? Qt.LeftEdge : Qt.BottomEdge
topMargin: horizontal ? folioHomeScreen.topMargin : 0
bottomMargin: horizontal ? 0 : folioHomeScreen.bottomMargin
leftMargin: horizontal ? folioHomeScreen.leftMargin : 0
rightMargin: horizontal ? folioHomeScreen.rightMargin : 0