stay above osk

This commit is contained in:
2026-08-01 17:48:39 +02:00
parent 052a41ad21
commit 18c00d40b4
5 changed files with 43 additions and 13 deletions
+8 -3
View File
@@ -34,9 +34,14 @@ PanelWindow {
top: true
bottom: true
}
exclusionMode: ExclusionMode.Ignore
// Reserve nothing, respect what others reserved — see Launcher.qml. Keeps
// the menu clear of the bar and of an on-screen keyboard.
exclusionMode: ExclusionMode.Normal
exclusiveZone: 0
color: "transparent"
readonly property int barInset: Config.reserveSpace ? 0 : Theme.barHeight
// ---- Data ------------------------------------------------------------
readonly property WifiDevice device: Networking.devices.values.find(d => d.type === DeviceType.Wifi) ?? null
@@ -197,10 +202,10 @@ PanelWindow {
right: parent.right
bottom: parent.bottom
rightMargin: Theme.padding
bottomMargin: Theme.barHeight + Theme.padding
bottomMargin: root.barInset + Theme.padding
}
readonly property int maxHeight: Math.min(Config.wifiMenuHeight, root.height - Theme.barHeight - Theme.padding * 2)
readonly property int maxHeight: Math.min(Config.wifiMenuHeight, root.height - root.barInset - Theme.padding * 2)
readonly property int bodyHeight: root.wifiOn && list.count > 0 ? list.contentHeight : 48
readonly property int footerHeight: footer.visible ? footer.height + Theme.padding : 0