diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/qml/Icon.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/qml/Icon.qml b/framework/qml/Icon.qml index 74a4971a..6dc9529f 100644 --- a/framework/qml/Icon.qml +++ b/framework/qml/Icon.qml | |||
@@ -39,10 +39,11 @@ Item { | |||
39 | 39 | ||
40 | Image { | 40 | Image { |
41 | id: image | 41 | id: image |
42 | anchors.fill: parent | 42 | anchors.centerIn: parent |
43 | sourceSize.width: width | 43 | sourceSize.width: width |
44 | sourceSize.height: height | 44 | sourceSize.height: height |
45 | cache: true | 45 | cache: true |
46 | smooth: true | 46 | smooth: true |
47 | fillMode: Image.PreserveAspectFit | ||
47 | } | 48 | } |
48 | } | 49 | } |