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
@@ -212,12 +212,14 @@ Item {
clip: true
implicitHeight: innerLayout.implicitHeight + innerLayout.anchors.margins * 2
ColumnLayout {
SnapLayout {
id: innerLayout
anchors.bottomMargin: Tokens.padding.largeIncreased
anchors.fill: parent
anchors.margins: Tokens.padding.extraLarge
spacing: 0
orientation: Qt.Vertical
CustomText {
font: Tokens.font.title.builders.large.weight(Font.Normal).build()
@@ -264,7 +266,7 @@ Item {
}
}
RowLayout {
SnapLayout {
id: layout
anchors.left: parent.left
@@ -274,6 +276,8 @@ Item {
anchors.leftMargin: Tokens.padding.large
anchors.rightMargin: Tokens.padding.large
spacing: Tokens.spacing.extraSmall
CustomText {
id: name
@@ -313,8 +317,9 @@ Item {
}
}
RowLayout {
SnapLayout {
Layout.alignment: Qt.AlignRight
spacing: Tokens.spacing.extraSmall
TextButton {