diff options
author | Kostas Karmas <konskarm@gmail.com> | 2021-03-25 11:00:14 +0300 |
---|---|---|
committer | Kostas Karmas <konskarm@gmail.com> | 2021-03-25 11:00:14 +0300 |
commit | 18c0510727e7671614b549556625b2134c1d70f3 (patch) | |
tree | ba18d9828ae672e5a6405cf849f217ea7e6323eb /resources/qml/WelcomePages/WelcomeContent.qml | |
parent | d6c1ffdda375fec9d2f499c8bd9b2a9d0017e9ff (diff) |
Fix review comments in WelcomeContent.qml
CURA-8094
Diffstat (limited to 'resources/qml/WelcomePages/WelcomeContent.qml')
-rw-r--r-- | resources/qml/WelcomePages/WelcomeContent.qml | 60 |
1 files changed, 36 insertions, 24 deletions
diff --git a/resources/qml/WelcomePages/WelcomeContent.qml b/resources/qml/WelcomePages/WelcomeContent.qml index 6e05cad010..1b1eab9893 100644 --- a/resources/qml/WelcomePages/WelcomeContent.qml +++ b/resources/qml/WelcomePages/WelcomeContent.qml @@ -21,40 +21,52 @@ Item anchors.verticalCenter: parent.verticalCenter spacing: UM.Theme.getSize("thick_margin").height + + // Filler item + Item + { + height: UM.Theme.getSize("thick_margin").width + width: parent.width + } + Image { id: curaImage anchors.horizontalCenter: parent.horizontalCenter source: UM.Theme.getImage("first_run_welcome_cura") - scale: 0.666 + fillMode: Image.PreserveAspectFit + width: UM.Theme.getSize("welcome_wizard_content_image_big").width + sourceSize.width: width + sourceSize.height: height } - Column + // Filler item + Item { - anchors.horizontalCenter: parent.horizontalCenter - spacing: UM.Theme.getSize("thick_margin").height + height: UM.Theme.getSize("thick_margin").width + width: parent.width + } - Label - { - id: titleLabel - anchors.horizontalCenter: parent.horizontalCenter - horizontalAlignment: Text.AlignHCenter - text: catalog.i18nc("@label", "Welcome to Ultimaker Cura") - color: UM.Theme.getColor("primary_button") - font: UM.Theme.getFont("huge_bold") - renderType: Text.NativeRendering - } + Label + { + id: titleLabel + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment: Text.AlignHCenter + text: catalog.i18nc("@label", "Welcome to Ultimaker Cura") + color: UM.Theme.getColor("primary_button") + font: UM.Theme.getFont("huge_bold") + renderType: Text.NativeRendering + } - Label - { - id: textLabel - anchors.horizontalCenter: parent.horizontalCenter - horizontalAlignment: Text.AlignHCenter - text: catalog.i18nc("@text", "Please follow these steps to set up Ultimaker Cura.\nThis will only take a few moments.") - font: UM.Theme.getFont("medium") - color: UM.Theme.getColor("text") - renderType: Text.NativeRendering - } + Label + { + id: textLabel + anchors.horizontalCenter: parent.horizontalCenter + horizontalAlignment: Text.AlignHCenter + text: catalog.i18nc("@text", "Please follow these steps to set up Ultimaker Cura.\nThis will only take a few moments.") + font: UM.Theme.getFont("medium") + color: UM.Theme.getColor("text") + renderType: Text.NativeRendering } // Filler item |