From 2b52005041912e411dd8f1e1d1e0593bd393b518 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Wed, 17 Sep 2014 14:19:45 +0200 Subject: launchersettings: various improvements - make it scale better on screen with different screen sizes and pixel density. For example the current implementation looked bad on Nexus 2013. Lets use "scaled cm" based on visual angle. Tested on 46 inch TV, nexus, nexus 2013, Rpi with samsung desktop monitor, demo looks as expected. - Demo now works as expeced when deployed as stand alone application from QtCreator. Before this change layout was completely broken, because Screen qml element really does not work as expected. - Make handle of Slider more touch-friendly. - Simplify creation of wifi GroupBox. The Loader element was needed at the beginning when we build QtWifi only on Android. - Move custom styles into separate qml files and other cleanups. Task-number: QTEE-769 Change-Id: Ifef1caa7edbfaea14c608f6b8fae43e86b0a2442 Reviewed-by: Eirik Aavitsland --- basicsuite/shared/main_landscape.qml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'basicsuite/shared/main_landscape.qml') diff --git a/basicsuite/shared/main_landscape.qml b/basicsuite/shared/main_landscape.qml index 46b7fc5..233ef77 100644 --- a/basicsuite/shared/main_landscape.qml +++ b/basicsuite/shared/main_landscape.qml @@ -18,9 +18,8 @@ import QtQuick 2.0 Item { - width: 800 - height: 1280 - + width: engine.screenWidth() + height: engine.screenHeight() SharedMain { anchors.centerIn: parent width: parent.height -- cgit v1.2.3