mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-16 18:18:19 +02:00
Merge pull request #14772 from wayne-chen/loginScreenPreserveRatio
MS20825: Login Screen Aspect/Crop with resizing
This commit is contained in:
commit
90c7423dfb
7 changed files with 6 additions and 3 deletions
|
@ -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 |
BIN
interface/resources/qml/LoginDialog/images/background.png
Normal file
BIN
interface/resources/qml/LoginDialog/images/background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 MiB |
Binary file not shown.
Before Width: | Height: | Size: 272 KiB |
BIN
interface/resources/qml/LoginDialog/images/background_tablet.png
Normal file
BIN
interface/resources/qml/LoginDialog/images/background_tablet.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 456 KiB |
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue