fix centering
This commit is contained in:
parent
450f24528c
commit
44dde3d034
1 changed files with 6 additions and 9 deletions
|
|
@ -26,15 +26,15 @@ PanelWindow {
|
|||
opacity: M.Theme.barOpacity
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
Item {
|
||||
anchors.fill: parent
|
||||
anchors.leftMargin: 8
|
||||
anchors.rightMargin: 8
|
||||
spacing: 8
|
||||
|
||||
// ---- left ----
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignLeft
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 8
|
||||
|
||||
// M.Workspaces {}
|
||||
|
|
@ -42,22 +42,19 @@ PanelWindow {
|
|||
M.WindowTitle { Layout.maximumWidth: 400 }
|
||||
}
|
||||
|
||||
Item { Layout.fillWidth: true }
|
||||
|
||||
// ---- center ----
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
anchors.centerIn: parent
|
||||
spacing: 8
|
||||
|
||||
M.Clock {}
|
||||
M.Notifications {}
|
||||
}
|
||||
|
||||
Item { Layout.fillWidth: true }
|
||||
|
||||
// ---- right ----
|
||||
RowLayout {
|
||||
Layout.alignment: Qt.AlignRight
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
spacing: 12
|
||||
|
||||
M.Mpris {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue