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
@@ -32,9 +32,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 BluetoothAdapter adapter: Bluetooth.defaultAdapter
@@ -101,10 +106,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.bluetoothMenuHeight, root.height - Theme.barHeight - Theme.padding * 2)
readonly property int maxHeight: Math.min(Config.bluetoothMenuHeight, root.height - root.barInset - Theme.padding * 2)
readonly property int bodyHeight: root.adapterOn && list.count > 0 ? list.contentHeight : 48
width: Math.min(Config.bluetoothMenuWidth, root.width - Theme.padding * 2)