From eda63f75f575f802847eaf839d9a98b7a6885529 Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Wed, 1 Aug 2018 07:03:02 +0000 Subject: Improve output of multiple screen resolution To improve output on various monitor with various resolution, use scale_factor from WM to fit various screen resolution. Bug-AGL: SPEC-1568, SPEC-1569, SPEC-1611 Change-Id: I527b0e96900afd4c0fcbea3cebf2ae800d9cf4ab Signed-off-by: Tadao Tanikawa --- homescreen/qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'homescreen/qml') diff --git a/homescreen/qml/main.qml b/homescreen/qml/main.qml index 1312e87..96a1950 100644 --- a/homescreen/qml/main.qml +++ b/homescreen/qml/main.qml @@ -32,7 +32,7 @@ Window { anchors.centerIn: parent width: 1080 height: 1920 - scale: 1.0 + scale: screenInfo.scale_factor() source: './images/AGL_HMI_Blue_Background_NoCar-01.png' ColumnLayout { -- cgit 1.2.3-korg