configurable groupSpacing for gap between groups and gradient border

This commit is contained in:
Damocles 2026-04-13 16:22:48 +02:00
parent e29853cbb6
commit 3e78384433
2 changed files with 9 additions and 6 deletions

View file

@ -96,16 +96,16 @@ PanelWindow {
Item {
anchors.fill: parent
anchors.topMargin: 3
anchors.leftMargin: 6
anchors.rightMargin: 6
anchors.topMargin: M.Theme.groupSpacing
anchors.leftMargin: M.Theme.groupSpacing
anchors.rightMargin: M.Theme.groupSpacing
// ---- center (declared first so left/right can anchor to it) ----
RowLayout {
id: centerSection
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing
spacing: M.Theme.groupSpacing
M.Privacy {}
M.BarGroup {
@ -124,7 +124,7 @@ PanelWindow {
anchors.left: parent.left
anchors.right: centerSection.left
anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing
spacing: M.Theme.groupSpacing
M.BarGroup {
leftEdge: true
@ -156,7 +156,7 @@ PanelWindow {
anchors.left: centerSection.right
anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter
spacing: M.Theme.barSpacing
spacing: M.Theme.groupSpacing
Item {
Layout.fillWidth: true