fix clock centering
This commit is contained in:
parent
bf46b0f277
commit
3c9f6e78cc
1 changed files with 37 additions and 27 deletions
|
|
@ -26,25 +26,30 @@ PanelWindow {
|
||||||
opacity: M.Theme.barOpacity
|
opacity: M.Theme.barOpacity
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
RowLayout {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.leftMargin: 8
|
anchors.leftMargin: 8
|
||||||
anchors.rightMargin: 8
|
anchors.rightMargin: 8
|
||||||
|
spacing: 0
|
||||||
|
|
||||||
// ---- left ----
|
// ---- left ----
|
||||||
RowLayout {
|
Item {
|
||||||
anchors.left: parent.left
|
Layout.fillWidth: true
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
Layout.fillHeight: true
|
||||||
spacing: 8
|
|
||||||
|
|
||||||
// M.Workspaces {}
|
RowLayout {
|
||||||
M.Tray { bar: bar }
|
anchors.left: parent.left
|
||||||
M.WindowTitle { Layout.maximumWidth: 400 }
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
|
spacing: 8
|
||||||
|
|
||||||
|
// M.Workspaces {}
|
||||||
|
M.Tray { bar: bar }
|
||||||
|
M.WindowTitle { Layout.maximumWidth: 400 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- center ----
|
// ---- center ----
|
||||||
RowLayout {
|
RowLayout {
|
||||||
anchors.centerIn: parent
|
|
||||||
spacing: 8
|
spacing: 8
|
||||||
|
|
||||||
M.Clock {}
|
M.Clock {}
|
||||||
|
|
@ -52,25 +57,30 @@ PanelWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---- right ----
|
// ---- right ----
|
||||||
RowLayout {
|
Item {
|
||||||
anchors.right: parent.right
|
Layout.fillWidth: true
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
Layout.fillHeight: true
|
||||||
spacing: 12
|
|
||||||
|
|
||||||
M.Mpris {}
|
RowLayout {
|
||||||
M.Volume {}
|
anchors.right: parent.right
|
||||||
M.Bluetooth {}
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
M.Backlight {}
|
spacing: 12
|
||||||
M.Network {}
|
|
||||||
M.PowerProfile {}
|
M.Mpris {}
|
||||||
M.IdleInhibitor {}
|
M.Volume {}
|
||||||
M.Weather {}
|
M.Bluetooth {}
|
||||||
M.Temperature {}
|
M.Backlight {}
|
||||||
M.Cpu {}
|
M.Network {}
|
||||||
M.Memory {}
|
M.PowerProfile {}
|
||||||
M.Disk {}
|
M.IdleInhibitor {}
|
||||||
M.Battery {}
|
M.Weather {}
|
||||||
M.Wlogout {}
|
M.Temperature {}
|
||||||
|
M.Cpu {}
|
||||||
|
M.Memory {}
|
||||||
|
M.Disk {}
|
||||||
|
M.Battery {}
|
||||||
|
M.Wlogout {}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue