mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-24 11:21:14 -07:00
Add placeholder image
The 'CicleOutline' image doesn't exist. There is no design for this image so I'm adding the placeholder that the previous Marketplace had. Contributes to issue CURA-8561.
This commit is contained in:
parent
4014562cdc
commit
2ce31d0e71
2 changed files with 4 additions and 1 deletions
3
plugins/Marketplace/resources/images/placeholder.svg
Normal file
3
plugins/Marketplace/resources/images/placeholder.svg
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48">
|
||||||
|
<path d="M24,44,7,33.4V14.6L24,4,41,14.6V33.4ZM9,32.3l15,9.3,15-9.3V15.7L24,6.4,9,15.7Z"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 184 B |
|
|
@ -32,7 +32,7 @@ Rectangle
|
||||||
Layout.preferredWidth: UM.Theme.getSize("card_icon").width
|
Layout.preferredWidth: UM.Theme.getSize("card_icon").width
|
||||||
Layout.preferredHeight: UM.Theme.getSize("card_icon").height
|
Layout.preferredHeight: UM.Theme.getSize("card_icon").height
|
||||||
|
|
||||||
source: packageData.iconUrl != "" ? packageData.iconUrl : UM.Theme.getImage("CicleOutline")
|
source: packageData.iconUrl != "" ? packageData.iconUrl : "../images/placeholder.svg"
|
||||||
}
|
}
|
||||||
|
|
||||||
Column
|
Column
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue