Просмотр исходного кода

Correctly wrap text body

to prevent weird alignment in welcome pages

CURA-8689
jelle spijker 2 лет назад
Родитель
Сommit
c8f51a6743
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      resources/qml/WelcomePages/AddUltimakerPrinter.qml

+ 2 - 1
resources/qml/WelcomePages/AddUltimakerPrinter.qml

@@ -32,7 +32,9 @@ Control
     {
         UM.Label
         {
+            Layout.fillWidth: true
             text: catalog.i18nc("@label", "New Ultimaker printers can be connected to Digital Factory and monitored remotely.")
+            wrapMode: Text.WordWrap
         }
 
         RowLayout
@@ -84,7 +86,6 @@ Control
                     iconSource: UM.Theme.getIcon("LinkExternal")
                     isIconOnRightSide: true
                     textFont: UM.Theme.getFont("small")
-                    fixedWidthMode: true
                     onClicked: Qt.openUrlExternally("https://support.ultimaker.com/hc/en-us/articles/360012019239?utm_source=cura&utm_medium=software&utm_campaign=onboarding-add-printer")
                 }
             }