stay above osk
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user