Browse Source

Fix "Print Speed" text width for some translations

CURA-4341
Lipu Fei 7 years ago
parent
commit
444204f6a1
1 changed files with 3 additions and 0 deletions
  1. 3 0
      resources/qml/SidebarSimple.qml

+ 3 - 0
resources/qml/SidebarSimple.qml

@@ -316,10 +316,13 @@ Item
                     anchors.top: speedSlider.bottom
 
                     anchors.left: parent.left
+                    anchors.right: speedSlider.left
+                    anchors.rightMargin: UM.Theme.getSize("default_margin").width
 
                     text: catalog.i18nc("@label", "Print Speed")
                     font: UM.Theme.getFont("default")
                     color: UM.Theme.getColor("text")
+                    elide: Text.ElideRight
                 }
 
                 Label