fix elements overflowing

This commit is contained in:
Damocles 2026-04-10 23:16:41 +02:00
parent 3c9f6e78cc
commit b69e7e5c01

View file

@ -33,39 +33,31 @@ PanelWindow {
spacing: 0
// ---- left ----
Item {
Layout.fillWidth: true
Layout.fillHeight: true
RowLayout {
anchors.left: parent.left
anchors.verticalCenter: parent.verticalCenter
Layout.fillWidth: true
spacing: 8
// M.Workspaces {}
M.Tray { bar: bar }
M.WindowTitle { Layout.maximumWidth: 400 }
}
Item { Layout.fillWidth: true }
}
// ---- center ----
RowLayout {
spacing: 8
Layout.alignment: Qt.AlignVCenter
M.Clock {}
M.Notifications {}
}
// ---- right ----
Item {
Layout.fillWidth: true
Layout.fillHeight: true
RowLayout {
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
Layout.fillWidth: true
spacing: 12
Item { Layout.fillWidth: true }
M.Mpris {}
M.Volume {}
M.Bluetooth {}
@ -83,4 +75,3 @@ PanelWindow {
}
}
}
}