Feat: device pixel alignment #164
@@ -53,24 +53,10 @@ Item {
|
|||||||
lock: root.lock
|
lock: root.lock
|
||||||
}
|
}
|
||||||
|
|
||||||
SnapLayout {
|
NotifDock {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
spacing: Tokens.spacing.medium
|
lock: root.lock
|
||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,16 +51,10 @@ CustomRect {
|
|||||||
duration: Tokens.anim.durations.extraLarge
|
duration: Tokens.anim.durations.extraLarge
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sourceComponent: SnapLayout {
|
sourceComponent: CustomText {
|
||||||
orientation: Qt.Vertical
|
color: Colors.palette.m3outlineVariant
|
||||||
spacing: Tokens.spacing.largeIncreased
|
font: Tokens.font.headline.builders.small.width(90).build()
|
||||||
|
text: qsTr("No Notifications")
|
||||||
CustomText {
|
|
||||||
Layout.alignment: Qt.AlignHCenter
|
|
||||||
color: Colors.palette.m3outlineVariant
|
|
||||||
font: Tokens.font.headline.builders.small.width(90).build()
|
|
||||||
text: qsTr("No Notifications")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user