bar: not repeat 32 (visual group height)

This commit is contained in:
end-4
2025-08-14 15:47:18 +07:00
parent dbd23a6ea4
commit 955a5ba7f2
4 changed files with 3 additions and 4 deletions
@@ -139,7 +139,6 @@ Scope {
top: barContent.bottom top: barContent.bottom
bottom: undefined bottom: undefined
} }
width: parent.width
height: Appearance.rounding.screenRounding height: Appearance.rounding.screenRounding
active: showBarBackground && Config.options.bar.cornerStyle === 0 // Hug active: showBarBackground && Config.options.bar.cornerStyle === 0 // Hug
@@ -14,7 +14,7 @@ MouseArea {
readonly property bool isLow: percentage <= Config.options.battery.low / 100 readonly property bool isLow: percentage <= Config.options.battery.low / 100
implicitWidth: rowLayout.implicitWidth + rowLayout.spacing * 2 implicitWidth: rowLayout.implicitWidth + rowLayout.spacing * 2
implicitHeight: 32 implicitHeight: Appearance.sizes.barGroupHeight
hoverEnabled: true hoverEnabled: true
@@ -11,7 +11,7 @@ Item {
property bool borderless: Config.options.bar.borderless property bool borderless: Config.options.bar.borderless
property bool showDate: Config.options.bar.verbose property bool showDate: Config.options.bar.verbose
implicitWidth: rowLayout.implicitWidth implicitWidth: rowLayout.implicitWidth
implicitHeight: 32 implicitHeight: Appearance.sizes.barGroupHeight
RowLayout { RowLayout {
id: rowLayout id: rowLayout
@@ -10,7 +10,7 @@ Item {
property bool borderless: Config.options.bar.borderless property bool borderless: Config.options.bar.borderless
property bool alwaysShowAllResources: false property bool alwaysShowAllResources: false
implicitWidth: rowLayout.implicitWidth + rowLayout.anchors.leftMargin + rowLayout.anchors.rightMargin implicitWidth: rowLayout.implicitWidth + rowLayout.anchors.leftMargin + rowLayout.anchors.rightMargin
implicitHeight: 32 implicitHeight: Appearance.sizes.barGroupHeight
RowLayout { RowLayout {
id: rowLayout id: rowLayout