bar height
This commit is contained in:
+6
-4
@@ -42,7 +42,7 @@ Variants {
|
|||||||
regions: popoutRegions.instances
|
regions: popoutRegions.instances
|
||||||
width: bar.width
|
width: bar.width
|
||||||
x: 0
|
x: 0
|
||||||
y: Config.barConfig.autoHide && !visibilities.bar ? 4 : 34
|
y: Config.barConfig.autoHide && !visibilities.bar ? 4 : backgroundRect.height
|
||||||
}
|
}
|
||||||
|
|
||||||
contentItem.Keys.onEscapePressed: {
|
contentItem.Keys.onEscapePressed: {
|
||||||
@@ -62,7 +62,7 @@ Variants {
|
|||||||
WlrLayershell.layer: WlrLayer.Bottom
|
WlrLayershell.layer: WlrLayer.Bottom
|
||||||
WlrLayershell.namespace: "ZShell-Bar-Exclusion"
|
WlrLayershell.namespace: "ZShell-Bar-Exclusion"
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
implicitHeight: 34
|
implicitHeight: backgroundRect.height
|
||||||
screen: bar.screen
|
screen: bar.screen
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
@@ -185,7 +185,7 @@ Variants {
|
|||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
|
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
implicitHeight: 34
|
implicitHeight: barLoader.childrenRect.height
|
||||||
radius: 0
|
radius: 0
|
||||||
|
|
||||||
Behavior on anchors.topMargin {
|
Behavior on anchors.topMargin {
|
||||||
@@ -200,7 +200,9 @@ Variants {
|
|||||||
BarLoader {
|
BarLoader {
|
||||||
id: barLoader
|
id: barLoader
|
||||||
|
|
||||||
anchors.fill: parent
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
bar: bar
|
bar: bar
|
||||||
popouts: panels.popouts
|
popouts: panels.popouts
|
||||||
screen: scope.modelData
|
screen: scope.modelData
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ RowLayout {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
anchors.fill: parent
|
implicitHeight: childrenRect.height
|
||||||
|
|
||||||
CustomShortcut {
|
CustomShortcut {
|
||||||
name: "toggle-overview"
|
name: "toggle-overview"
|
||||||
|
|||||||
Reference in New Issue
Block a user