aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/qml/main.qml
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-08 14:38:03 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2018-08-08 14:41:13 +0900
commit58ecf2c3229ab677ca39095b52ab88b1a41861bd (patch)
treedd9ec6ec0bb49826746d942ee59322262e54c835 /homescreen/qml/main.qml
parent4d66f9362b74500b1ceb1850c156cd7aeaf60fc6 (diff)
Merge lastest commit from homescreen-2017
Merge two lastest commit from homescreen-2017. 1) StatusBarModel: fix QQmlContext reference Fix missing include Bug-AGL: SPEC-1628 2) 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: I71a6c87187c2b0b81bb0ed10cc8779032aa19300 Signed-off-by: Matt Porter <mporter@konsulko.com>Y Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'homescreen/qml/main.qml')
-rw-r--r--homescreen/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
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 {