mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
added sourceSize property to qml's Image for better rendering
CURA-7162
This commit is contained in:
parent
3a0da99256
commit
1acfaf9705
5 changed files with 14 additions and 0 deletions
|
@ -71,6 +71,8 @@ UM.Dialog{
|
|||
source: model.icon_url || "../../images/placeholder.svg"
|
||||
height: lineHeight
|
||||
width: height
|
||||
sourceSize.height: height
|
||||
sourceSize.width: width
|
||||
mipmap: true
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
@ -114,6 +116,8 @@ UM.Dialog{
|
|||
source: model.icon_url || "../../images/placeholder.svg"
|
||||
height: lineHeight
|
||||
width: height
|
||||
sourceSize.height: height
|
||||
sourceSize.width: width
|
||||
mipmap: true
|
||||
fillMode: Image.PreserveAspectFit
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue