feat: initial commit for pixel-snapping components and helpers
This commit is contained in:
@@ -53,10 +53,24 @@ Item {
|
|||||||
lock: root.lock
|
lock: root.lock
|
||||||
}
|
}
|
||||||
|
|
||||||
NotifDock {
|
SnapLayout {
|
||||||
|
Layout.fillWidth: true
|
||||||
|
|
||||||
|
spacing: Tokens.spacing.medium
|
||||||
|
orientation: Qt.Vertical
|
||||||
|
|
||||||
|
CustomRect {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
bottomRightRadius: Tokens.rounding.largeIncreased
|
||||||
|
color: Colors.tPalette.m3surfaceContainer
|
||||||
|
radius: Tokens.rounding.small
|
||||||
|
topRightRadius: Tokens.rounding.largeIncreased
|
||||||
|
|
||||||
|
NotifDock {
|
||||||
lock: root.lock
|
lock: root.lock
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ CustomRect {
|
|||||||
topRightRadius: Tokens.rounding.largeIncreased
|
topRightRadius: Tokens.rounding.largeIncreased
|
||||||
|
|
||||||
SnapLayout {
|
SnapLayout {
|
||||||
|
orientation: Qt.Vertical
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
anchors.margins: Tokens.padding.large
|
anchors.margins: Tokens.padding.large
|
||||||
|
|
||||||
@@ -51,7 +52,8 @@ CustomRect {
|
|||||||
duration: Tokens.anim.durations.extraLarge
|
duration: Tokens.anim.durations.extraLarge
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceComponent: ColumnLayout {
|
sourceComponent: SnapLayout {
|
||||||
|
orientation: Qt.Vertical
|
||||||
spacing: Tokens.spacing.largeIncreased
|
spacing: Tokens.spacing.largeIncreased
|
||||||
|
|
||||||
CustomText {
|
CustomText {
|
||||||
|
|||||||
Reference in New Issue
Block a user