From 43db2ee2f91242f7801521695ca1537413640dc7 Mon Sep 17 00:00:00 2001 From: Aleksei S Date: Wed, 3 Jan 2018 10:34:23 +0100 Subject: [PATCH] Added ElideRight for the text which is out of boundaries CURA-4692 --- resources/qml/SidebarSimple.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index 62cf6f9d34..7aca25160a 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -340,6 +340,8 @@ Item text: catalog.i18nc("@label", "Print Speed") font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") + width: parseInt(UM.Theme.getSize("sidebar").width * 0.35) + elide: Text.ElideRight } Label