diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-08-19 13:47:45 +0000 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-08-19 14:03:38 +0000 |
commit | adfc55e6dd4b10b83aa35bab40698cbf7b496ec7 (patch) | |
tree | b79d9b6e569293c3ff6be60040cfb334dc7f67a7 | |
parent | 5fbb59e80e4f870a1badd694d2efcd8cd941cdfb (diff) |
Fix short height of background image
Recently window manager changed the homescreen layout,
the height for application changed from 1487 to 1488 css pixel.
Before reworking about multiple resolution, this causes
unexpected stretch of background image.
After, this causes short of height of background.
Bug-AGL: SPEC-1611
Change-Id: I05a55f3dc4f4444dc681b8b35db0e99d6c1aeb35
Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
-rw-r--r-- | launcher/qml/Launcher.qml | 7 | ||||
-rw-r--r-- | launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png | bin | 824254 -> 785945 bytes |
2 files changed, 2 insertions, 5 deletions
diff --git a/launcher/qml/Launcher.qml b/launcher/qml/Launcher.qml index 26e42fc..f6f2702 100644 --- a/launcher/qml/Launcher.qml +++ b/launcher/qml/Launcher.qml @@ -16,14 +16,11 @@ * limitations under the License. */ import QtQuick 2.6 -import QtQuick.Window 2.1 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.0 import AppModel 1.0 -Window { - visible: true - flags: Qt.FramelessWindowHint +ApplicationWindow { width: container.width * container.scale height: container.height * container.scale @@ -33,7 +30,7 @@ Window { id: container anchors.centerIn: parent width: 1080 - height: 1487 + height: 1488 scale: screenInfo.scale_factor() Image { diff --git a/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png b/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png Binary files differindex 5ea3a53..8c01263 100644 --- a/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png +++ b/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png |