forked from Shinonome/dots-hyprland
bar: fix misaligned items for horizontal floating mode (#2075)
This commit is contained in:
@@ -108,6 +108,7 @@ Item { // Bar content region
|
||||
|
||||
BarGroup {
|
||||
id: leftCenterGroup
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitWidth: root.centerSideModuleWidth
|
||||
|
||||
Resources {
|
||||
@@ -127,6 +128,7 @@ Item { // Bar content region
|
||||
|
||||
BarGroup {
|
||||
id: middleCenterGroup
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
padding: workspacesWidget.widgetPadding
|
||||
|
||||
Workspaces {
|
||||
@@ -152,6 +154,7 @@ Item { // Bar content region
|
||||
|
||||
MouseArea {
|
||||
id: rightCenterGroup
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
implicitWidth: root.centerSideModuleWidth
|
||||
implicitHeight: rightCenterGroupContent.implicitHeight
|
||||
|
||||
|
||||
Reference in New Issue
Block a user