notifs: add sourceSize to notification images
This commit is contained in:
parent
c4239001f2
commit
229d17be35
3 changed files with 6 additions and 0 deletions
|
|
@ -73,6 +73,8 @@ StyledRect {
|
|||
Image {
|
||||
source: Qt.resolvedUrl(root.image)
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
sourceSize.width: Config.notifs.sizes.image
|
||||
sourceSize.height: Config.notifs.sizes.image
|
||||
cache: false
|
||||
asynchronous: true
|
||||
width: Config.notifs.sizes.image
|
||||
|
|
|
|||
|
|
@ -124,6 +124,8 @@ StyledRect {
|
|||
anchors.fill: parent
|
||||
source: Qt.resolvedUrl(root.modelData.image)
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
sourceSize.width: Config.notifs.sizes.image
|
||||
sourceSize.height: Config.notifs.sizes.image
|
||||
cache: false
|
||||
asynchronous: true
|
||||
}
|
||||
|
|
|
|||
|
|
@ -100,6 +100,8 @@ StyledRect {
|
|||
Image {
|
||||
source: Qt.resolvedUrl(root.image)
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
sourceSize.width: Config.notifs.sizes.image
|
||||
sourceSize.height: Config.notifs.sizes.image
|
||||
cache: false
|
||||
asynchronous: true
|
||||
width: Config.notifs.sizes.image
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue