extract constants

This commit is contained in:
Damocles 2026-04-12 10:57:48 +02:00
parent bc3a85d18d
commit b969f0824f
22 changed files with 106 additions and 63 deletions

View file

@ -29,15 +29,15 @@ PanelWindow {
Item {
anchors.fill: parent
anchors.leftMargin: 8
anchors.rightMargin: 8
anchors.leftMargin: M.Theme.barPadding
anchors.rightMargin: M.Theme.barPadding
// ---- center (declared first so left/right can anchor to it) ----
RowLayout {
id: centerSection
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
spacing: 8
spacing: M.Theme.barSpacing
M.Clock {}
M.Notifications {}
@ -48,7 +48,7 @@ PanelWindow {
anchors.left: parent.left
anchors.right: centerSection.left
anchors.verticalCenter: parent.verticalCenter
spacing: 8
spacing: M.Theme.barSpacing
M.Tray {
bar: bar
@ -63,7 +63,7 @@ PanelWindow {
anchors.left: centerSection.right
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: 12
spacing: M.Theme.barSpacing
Item {
Layout.fillWidth: true