bar height

This commit is contained in:
Zacharias-Brohn
2026-03-01 22:21:35 +01:00
parent 749358dd5b
commit cda00f91a3
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -42,7 +42,7 @@ Variants {
regions: popoutRegions.instances
width: bar.width
x: 0
y: Config.barConfig.autoHide && !visibilities.bar ? 4 : 34
y: Config.barConfig.autoHide && !visibilities.bar ? 4 : backgroundRect.height
}
contentItem.Keys.onEscapePressed: {
@@ -62,7 +62,7 @@ Variants {
WlrLayershell.layer: WlrLayer.Bottom
WlrLayershell.namespace: "ZShell-Bar-Exclusion"
color: "transparent"
implicitHeight: 34
implicitHeight: backgroundRect.height
screen: bar.screen
anchors {
@@ -185,7 +185,7 @@ Variants {
anchors.top: parent.top
anchors.topMargin: Config.barConfig.autoHide && !visibilities.bar ? -30 : 0
color: "transparent"
implicitHeight: 34
implicitHeight: barLoader.childrenRect.height
radius: 0
Behavior on anchors.topMargin {
@@ -200,7 +200,9 @@ Variants {
BarLoader {
id: barLoader
anchors.fill: parent
anchors.left: parent.left
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
bar: bar
popouts: panels.popouts
screen: scope.modelData