summaryrefslogtreecommitdiffstats
path: root/basicsuite
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@digia.com>2014-04-09 14:31:19 +0200
committerGatis Paeglis <gatis.paeglis@digia.com>2014-04-09 15:43:08 +0300
commitbb8049fd3dceea482304076b30ef8cbe574e308f (patch)
tree51c1552718a6122172889c80b872e6cdefdce58b /basicsuite
parent5d498744d0590a0b2d6af68137b344d5415610fe (diff)
[about-b2qt] Use Screen element for setting width/height
Task-number: QTRD-3032 Change-Id: Ifdd27fe756f120bcb78093626908b04a62065d3a Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'basicsuite')
-rw-r--r--basicsuite/about-b2qt/main.qml5
1 files changed, 3 insertions, 2 deletions
diff --git a/basicsuite/about-b2qt/main.qml b/basicsuite/about-b2qt/main.qml
index 5c5c6df..694ba50 100644
--- a/basicsuite/about-b2qt/main.qml
+++ b/basicsuite/about-b2qt/main.qml
@@ -40,12 +40,13 @@
****************************************************************************/
import QtQuick 2.0
import QtQuick.Particles 2.0
+import QtQuick.Window 2.1
Item {
id: root
- width: 1280
- height: 800
+ width : Screen.height > Screen.width ? Screen.height : Screen.width
+ height : Screen.height > Screen.width ? Screen.width : Screen.height
// Rectangle {
// anchors.fill: parent