summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-08-03 09:55:22 +0000
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-08-03 10:41:54 +0000
commit13c72a9644523e7809a74d168cc6d889b5d1d6a2 (patch)
tree9b37e429f98e89e82af3bf2faffb266127ec1f07
parent3c3c5c7907b075f1489dfd29c6bf9b9a32e37bca (diff)
Fix side effect by improving multi-resolution support. Bug-AGL: SPEC-1611 Change-Id: I697f6be3230f73a913fb1e605f67a23395921fb9 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r--imports/qtquickcontrols2aglstyle/ApplicationWindow.qml9
-rw-r--r--imports/qtquickcontrols2aglstyle/images/AGL_HMI_Blue_Background_NoCar-01.pngbin949053 -> 695059 bytes
2 files changed, 4 insertions, 5 deletions
diff --git a/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml b/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
index 6ea9645..0bf9cb6 100644
--- a/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
+++ b/imports/qtquickcontrols2aglstyle/ApplicationWindow.qml
@@ -20,17 +20,16 @@ import QtQuick.Templates 2.0 as T
T.ApplicationWindow {
id: root
- width: 1080
- height: 1920 - 218 - 215
visible: true
flags: Qt.FramelessWindowHint
font.family: 'Robota'
background: Image {
- anchors.fill: parent
- anchors.topMargin: -218
- anchors.bottomMargin: -215
+ anchors {
+ fill: parent
+ centerIn: parent
+ }
source: './images/AGL_HMI_Blue_Background_NoCar-01.png'
}
}
diff --git a/imports/qtquickcontrols2aglstyle/images/AGL_HMI_Blue_Background_NoCar-01.png b/imports/qtquickcontrols2aglstyle/images/AGL_HMI_Blue_Background_NoCar-01.png
index 357c204..120c784 100644
--- a/imports/qtquickcontrols2aglstyle/images/AGL_HMI_Blue_Background_NoCar-01.png
+++ b/imports/qtquickcontrols2aglstyle/images/AGL_HMI_Blue_Background_NoCar-01.png
Binary files differ