notification padding and radius changes
This commit is contained in:
@@ -10,7 +10,7 @@ Item {
|
|||||||
|
|
||||||
required property PersistentProperties visibilities
|
required property PersistentProperties visibilities
|
||||||
required property Item panels
|
required property Item panels
|
||||||
readonly property int padding: 8
|
readonly property int padding: 6
|
||||||
|
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
@@ -48,7 +48,7 @@ Item {
|
|||||||
anchors.margins: root.padding
|
anchors.margins: root.padding
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
radius: 8
|
radius: 4
|
||||||
|
|
||||||
CustomListView {
|
CustomListView {
|
||||||
id: list
|
id: list
|
||||||
@@ -123,7 +123,7 @@ Item {
|
|||||||
anchors.topMargin: wrapper.idx === 0 ? 0 : 8
|
anchors.topMargin: wrapper.idx === 0 ? 0 : 8
|
||||||
|
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
radius: notif.radius
|
radius: 4
|
||||||
implicitWidth: notif.implicitWidth
|
implicitWidth: notif.implicitWidth
|
||||||
implicitHeight: notif.implicitHeight
|
implicitHeight: notif.implicitHeight
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ CustomRect {
|
|||||||
property bool expanded: Config.notifs.openExpanded
|
property bool expanded: Config.notifs.openExpanded
|
||||||
|
|
||||||
color: root.modelData.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3secondaryContainer : DynamicColors.tPalette.m3surfaceContainer
|
color: root.modelData.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3secondaryContainer : DynamicColors.tPalette.m3surfaceContainer
|
||||||
radius: 8
|
radius: 6
|
||||||
implicitWidth: Config.notifs.sizes.width
|
implicitWidth: Config.notifs.sizes.width
|
||||||
implicitHeight: inner.implicitHeight
|
implicitHeight: inner.implicitHeight
|
||||||
|
|
||||||
@@ -125,6 +125,7 @@ CustomRect {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
source: Qt.resolvedUrl(root.modelData.image)
|
source: Qt.resolvedUrl(root.modelData.image)
|
||||||
fillMode: Image.PreserveAspectCrop
|
fillMode: Image.PreserveAspectCrop
|
||||||
|
mipmap: true
|
||||||
cache: false
|
cache: false
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user