Feat: device pixel alignment #164

Merged
zach merged 21 commits from feat/device-pixel-alignment into main 2026-11-03 16:09:37 +01:00
2 changed files with 7 additions and 27 deletions
Showing only changes of commit 067291f478 - Show all commits
+2 -16
View File
@@ -53,24 +53,10 @@ Item {
lock: root.lock lock: root.lock
} }
SnapLayout {
Layout.fillWidth: true
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 { NotifDock {
Layout.fillWidth: true
Layout.fillHeight: true
lock: root.lock lock: root.lock
} }
} }
} }
}
}
+1 -7
View File
@@ -51,18 +51,12 @@ CustomRect {
duration: Tokens.anim.durations.extraLarge duration: Tokens.anim.durations.extraLarge
} }
} }
sourceComponent: SnapLayout { sourceComponent: CustomText {
orientation: Qt.Vertical
spacing: Tokens.spacing.largeIncreased
CustomText {
Layout.alignment: Qt.AlignHCenter
color: Colors.palette.m3outlineVariant color: Colors.palette.m3outlineVariant
font: Tokens.font.headline.builders.small.width(90).build() font: Tokens.font.headline.builders.small.width(90).build()
text: qsTr("No Notifications") text: qsTr("No Notifications")
} }
} }
}
CustomListView { CustomListView {
anchors.fill: parent anchors.fill: parent