fixed weird layout thing

This commit is contained in:
2026-08-06 17:43:44 +01:00
parent bc2f308673
commit 185e7618a4

65
Bar.qml
View File

@@ -51,47 +51,52 @@ Scope {
topMargin: 3 topMargin: 3
} }
RowLayout { anchors {
left: parent.left
leftMargin: 3
right: parent.right
rightMargin: 3
top: parent.top
}
Row {
id: left
anchors { anchors {
left: parent.left left: parent.left
leftMargin: 3
right: parent.right
rightMargin: 3
top: parent.top top: parent.top
} }
Row { WorkspaceSelector {
id: left monitor: win.monitor
}
}
Layout.alignment: Qt.AlignTop Row {
id: center
WorkspaceSelector { anchors {
monitor: win.monitor horizontalCenter: parent.horizontalCenter
} top: parent.top
} }
Item { Time {
Layout.fillWidth: true monitor: win.monitor
}
}
Row {
id: right
Layout.alignment: Qt.AlignTop
anchors {
right: parent.right
top: parent.top
} }
Row { Bluetooth {
id: center monitor: win.monitor
Layout.alignment: Qt.AlignTop
Time {
monitor: win.monitor
}
}
Item {
Layout.fillWidth: true
}
Row {
id: right
Layout.alignment: Qt.AlignTop
} }
} }
} }