From da4bb127dfc59385605744223776d30685d0db05 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 31 Mar 2020 10:56:03 +0200 Subject: [PATCH] Add wordWrap to restart required message In some languages (and on some operating systems) the text would be cut off by the button --- plugins/Toolbox/resources/qml/components/ToolboxFooter.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml b/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml index 8408f94fe7..293e918d92 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxFooter.qml @@ -20,12 +20,13 @@ Item color: UM.Theme.getColor("text") height: UM.Theme.getSize("toolbox_footer_button").height verticalAlignment: Text.AlignVCenter + wrapMode: Text.WordWrap anchors { top: restartButton.top left: parent.left leftMargin: UM.Theme.getSize("wide_margin").width - right: restartButton.right + right: restartButton.left rightMargin: UM.Theme.getSize("default_margin").width } renderType: Text.NativeRendering