feat: initial commit for pixel-snapping components and helpers

This commit is contained in:
2026-10-29 17:47:19 +01:00
parent 858e4e5b12
commit fe0ce991da
2 changed files with 20 additions and 4 deletions
+17 -3
View File
@@ -53,10 +53,24 @@ Item {
lock: root.lock
}
NotifDock {
Layout.fillHeight: true
SnapLayout {
Layout.fillWidth: true
lock: root.lock
spacing: Tokens.spacing.medium
orientation: Qt.Vertical
CustomRect {
Layout.fillHeight: true
Layout.fillWidth: true
bottomRightRadius: Tokens.rounding.largeIncreased
color: Colors.tPalette.m3surfaceContainer
radius: Tokens.rounding.small
topRightRadius: Tokens.rounding.largeIncreased
NotifDock {
lock: root.lock
}
}
}
}
}
+3 -1
View File
@@ -23,6 +23,7 @@ CustomRect {
topRightRadius: Tokens.rounding.largeIncreased
SnapLayout {
orientation: Qt.Vertical
anchors.fill: parent
anchors.margins: Tokens.padding.large
@@ -51,7 +52,8 @@ CustomRect {
duration: Tokens.anim.durations.extraLarge
}
}
sourceComponent: ColumnLayout {
sourceComponent: SnapLayout {
orientation: Qt.Vertical
spacing: Tokens.spacing.largeIncreased
CustomText {