Set fillMode: Image.PreserveAspectFit

This commit is contained in:
Patrick von Reth 2015-09-15 15:27:26 +02:00
parent 447b6ef163
commit d337082930
1 changed files with 3 additions and 0 deletions

View File

@ -100,6 +100,7 @@ Rectangle {
Image {
id: image
fillMode: Image.PreserveAspectFit
width: height
smooth: true
anchors.left: parent.left
@ -111,6 +112,7 @@ Rectangle {
Image {
id: appIcon
fillMode: Image.PreserveAspectFit
height: root.height * 0.30
width: root.height * 0.30
smooth: true
@ -121,6 +123,7 @@ Rectangle {
Image {
id: closeButton
fillMode: Image.PreserveAspectFit
height: root.height * 0.20
width: root.height * 0.20
anchors.top: parent.top