diff options
Diffstat (limited to 'basicsuite')
-rw-r--r-- | basicsuite/Qt5 Launch Presentation/main.qml | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/basicsuite/Qt5 Launch Presentation/main.qml b/basicsuite/Qt5 Launch Presentation/main.qml index 8ebd802..627ec48 100644 --- a/basicsuite/Qt5 Launch Presentation/main.qml +++ b/basicsuite/Qt5 Launch Presentation/main.qml @@ -38,11 +38,26 @@ ** ****************************************************************************/ -DemoMain { +import QtQuick 2.0 - width: 854 - height: 480 +Item { + id: root + + width: 1280 + height: 720 + + property real widthFactor: root.width / root.height; + + DemoMain { + width: 720 * root.widthFactor + height: 720 + + anchors.centerIn: parent + + scale: root.height / height + + useDropShadow: false; + useSimpleGradient: true; + } - useDropShadow: false; - useSimpleGradient: true; } |