Line up Connectivity rows with the small Control Center tiles

The card used its own padding and packed rows at the top while the block
stretched it beside the tiles. It now uses tile metrics and grows its gaps,
so each row meets a tile's toggle.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mxandClaude Opus 5.5 committed 2026-10-15 14:59:36 +02:00
1 parent 0b3bb83bc9
commit 44a5aedbb2
2 files changed
+9 -1

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ Rectangle {
property string title
property bool heading: title !== ""
property int padding: 12
property real spacing: 10
implicitWidth: 360
implicitHeight: body.implicitHeight + padding * 2
radius: Math.max(12, Theme.radius * 0.75)
@@ -23,7 +24,7 @@ Rectangle {
top: parent.top
margins: root.padding
}
spacing: 10
spacing: root.spacing
Text {
visible: root.heading
text: root.title