adding fill mode for aspect/crop

This commit is contained in:
Wayne Chen 2019-01-24 15:57:04 -08:00
parent dadd49f535
commit 5c55761e4d
3 changed files with 3 additions and 0 deletions

View file

@ -54,6 +54,7 @@ FocusScope {
Image {
z: -10
id: loginDialogBackground
fillMode: Image.PreserveAspectCrop
source: "LoginDialog/images/background.jpg"
anchors.fill: parent
}

View file

@ -55,6 +55,7 @@ FocusScope {
Image {
z: -10
id: loginDialogBackground
fillMode: Image.PreserveAspectCrop
source: "LoginDialog/images/background.jpg"
anchors.fill: parent
}

View file

@ -95,6 +95,7 @@ FocusScope {
Image {
z: -10
id: loginDialogBackground
fillMode: Image.PreserveAspectCrop
source: "../LoginDialog/images/background_tablet.jpg"
anchors.fill: parent
}