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 {
|
BarGroup {
|
||||||
id: leftCenterGroup
|
id: leftCenterGroup
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: root.centerSideModuleWidth
|
implicitWidth: root.centerSideModuleWidth
|
||||||
|
|
||||||
Resources {
|
Resources {
|
||||||
@@ -127,6 +128,7 @@ Item { // Bar content region
|
|||||||
|
|
||||||
BarGroup {
|
BarGroup {
|
||||||
id: middleCenterGroup
|
id: middleCenterGroup
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
padding: workspacesWidget.widgetPadding
|
padding: workspacesWidget.widgetPadding
|
||||||
|
|
||||||
Workspaces {
|
Workspaces {
|
||||||
@@ -152,6 +154,7 @@ Item { // Bar content region
|
|||||||
|
|
||||||
MouseArea {
|
MouseArea {
|
||||||
id: rightCenterGroup
|
id: rightCenterGroup
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
implicitWidth: root.centerSideModuleWidth
|
implicitWidth: root.centerSideModuleWidth
|
||||||
implicitHeight: rightCenterGroupContent.implicitHeight
|
implicitHeight: rightCenterGroupContent.implicitHeight
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user