feat: initial commit for pixel-snapping components and helpers

This commit is contained in:
2026-10-29 17:34:57 +01:00
parent 9d8bde1413
commit 9cbb90f9e1
163 changed files with 2671 additions and 951 deletions
+14 -5
View File
@@ -83,13 +83,16 @@ Scope {
opacity: 0
radius: Tokens.rounding.small * 2
ColumnLayout {
SnapLayout {
id: layout
anchors.fill: parent
anchors.margins: Tokens.padding.medium
RowLayout {
spacing: Tokens.spacing.extraSmall
orientation: Qt.Vertical
SnapLayout {
id: contentRow
spacing: 24
@@ -120,12 +123,15 @@ Scope {
}
}
ColumnLayout {
SnapLayout {
id: contentColumn
Layout.fillHeight: true
Layout.fillWidth: true
spacing: Tokens.spacing.extraSmall
orientation: Qt.Vertical
CustomText {
Layout.alignment: Qt.AlignLeft
Layout.preferredWidth: Math.min(600, contentWidth)
@@ -210,13 +216,15 @@ Scope {
}
}
ColumnLayout {
SnapLayout {
id: textDetailsColumn
anchors.fill: parent
anchors.margins: Tokens.padding.small
opacity: 0
spacing: Tokens.spacing.small
orientation: Qt.Vertical
CustomText {
text: `actionId: ${polkitAgent.flow?.actionId}`
@@ -230,8 +238,9 @@ Scope {
}
}
RowLayout {
SnapLayout {
Layout.preferredWidth: contentRow.implicitWidth
spacing: 8
IconButton {