@@ -17,14 +17,18 @@
17import QtQuick 2.0
17import QtQuick 2.0
20− width: units.gu(40)
20+ implicitWidth: units.gu(40)
21− height: units.gu(70)
21+ implicitHeight: units.gu(70)
23 property alias screenshotSource: screenshotImage.source
25 property alias screenshotSource: screenshotImage.source
27+ property bool landscape: width > height
26 id: screenshotImage
30 id: screenshotImage
27− height: width * 0.6
31+ height: landscape ? parent.height * 0.4 : width * 0.6
28 anchors.bottom: parent.bottom
32 anchors.bottom: parent.bottom
29 anchors.left: parent.left
33 anchors.left: parent.left
30 anchors.right: parent.right
34 anchors.right: parent.right