diff options
Diffstat (limited to 'plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml')
-rw-r--r-- | plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml b/plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml index 7a7d2be48a..a9e98a67d5 100644 --- a/plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml +++ b/plugins/Toolbox/resources/qml/components/ToolboxTabButton.qml @@ -3,7 +3,7 @@ import QtQuick 2.10 import QtQuick.Controls 2.3 -import UM 1.1 as UM +import UM 1.5 as UM Button { @@ -28,17 +28,14 @@ Button } } - contentItem: Label + contentItem: UM.Label { id: label text: control.text color: UM.Theme.getColor("toolbox_header_button_text_inactive") font: UM.Theme.getFont("medium") - verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter - - renderType: Text.NativeRendering } states: |