Fix short height of background image 49/16149/1
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Sun, 19 Aug 2018 13:47:45 +0000 (13:47 +0000)
committerTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Sun, 19 Aug 2018 14:03:38 +0000 (14:03 +0000)
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>
launcher/qml/Launcher.qml
launcher/qml/images/AGL_HMI_Blue_Background_Car-01.png

index 26e42fc..f6f2702 100644 (file)
  * 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 {
index 5ea3a53..8c01263 100644 (file)
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