mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Set source size on image
CURA-11263
This commit is contained in:
parent
293f2ebda9
commit
0fd8284a5c
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ UM.Dialog
|
|||
width: Math.floor(base.width * 0.85)
|
||||
height: Math.floor(width * UM.Theme.getSize("logo").height / UM.Theme.getSize("logo").width)
|
||||
source: UM.Theme.getImage("logo")
|
||||
sourceSize.width: width
|
||||
sourceSize.height: height
|
||||
fillMode: Image.PreserveAspectFit
|
||||
|
||||
anchors.centerIn: parent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue