Merge pull request #14772 from wayne-chen/loginScreenPreserveRatio

MS20825: Login Screen Aspect/Crop with resizing
This commit is contained in:
Shannon Romano 2019-01-25 11:16:10 -08:00 committed by GitHub
commit 90c7423dfb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 3 deletions

View file

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 960 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 456 KiB

View file

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

View file

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