Browse Source

Change label text to not contain a new line character

CURA-8094
Kostas Karmas 4 years ago
parent
commit
e55e157925
1 changed files with 4 additions and 1 deletions
  1. 4 1
      resources/qml/WelcomePages/WelcomeContent.qml

+ 4 - 1
resources/qml/WelcomePages/WelcomeContent.qml

@@ -20,6 +20,7 @@ Item
         anchors.horizontalCenter: parent.horizontalCenter
         anchors.verticalCenter: parent.verticalCenter
         spacing: UM.Theme.getSize("thick_margin").height
+        width:parent.width
 
 
         // Filler item
@@ -63,7 +64,9 @@ Item
             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.")
+            width: titleLabel.width + 2 * UM.Theme.getSize("thick_margin").width
+            text: catalog.i18nc("@text", "Please follow these steps to set up Ultimaker Cura. This will only take a few moments.")
+            wrapMode: Text.Wrap
             font: UM.Theme.getFont("medium")
             color: UM.Theme.getColor("text")
             renderType: Text.NativeRendering