From adfc55e6dd4b10b83aa35bab40698cbf7b496ec7 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Sun, 19 Aug 2018 13:47:45 +0000 Subject: 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 --- launcher/qml/Launcher.qml | 7 ++----- .../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 index 5ea3a53..8c01263 100644 Binary files a/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png and b/launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png differ -- cgit 1.2.3-korg