diff --git a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml index 153436278ee..73c4eded2bc 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/Welcome_splash.qml @@ -32,7 +32,8 @@ import QtQuick.Shapes 1.0 Rectangle { id: welcome_splash - anchors.fill: parent + width: 600 + height: 720 clip: true gradient: Gradient { @@ -55,8 +56,6 @@ Rectangle { property bool doNotShowAgain: true property bool loadingPlugins: true - width: 600 - height: 720 visible: true color: "#1d212a" diff --git a/src/plugins/studiowelcome/qml/splashscreen/main.qml b/src/plugins/studiowelcome/qml/splashscreen/main.qml index b60e4668cb0..ee68681ab5f 100644 --- a/src/plugins/studiowelcome/qml/splashscreen/main.qml +++ b/src/plugins/studiowelcome/qml/splashscreen/main.qml @@ -27,8 +27,13 @@ import QtQuick 2.0 Item { id: root - width: 600 - height: 720 + width: 600 * root.mainScale + height: 720 * root.mainScale + + property int maxHeight: Screen.desktopAvailableHeight - 100 + + property real mainScale: root.maxHeight > 720 ? 1 : root.maxHeight / 720 + signal closeClicked signal checkBoxToggled @@ -42,9 +47,10 @@ Item { } Welcome_splash { + scale: root.mainScale id: welcome_splash - x: 0 - y: 0 + + transformOrigin: Item.TopLeft antialiasing: true onCloseClicked: root.closeClicked() onConfigureClicked: root.configureClicked()