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