diff options
author | Jaime van Kessel <nallath@gmail.com> | 2021-11-10 18:37:26 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2021-11-10 18:37:26 +0300 |
commit | 83be495414f9000b248296a5ecf89b700a4c0354 (patch) | |
tree | ee71807a96690cfa27f6e6ef3b5c2d63dcea6650 /plugins/PrepareStage/PrepareMenu.qml | |
parent | 0bb09a47838ac0da85f2c694f1cb6af91b2ce183 (diff) |
Replace usage of controls label with our custom label
This prevents copy pasting a bunch of parameters that we set by default
Diffstat (limited to 'plugins/PrepareStage/PrepareMenu.qml')
-rw-r--r-- | plugins/PrepareStage/PrepareMenu.qml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/PrepareStage/PrepareMenu.qml b/plugins/PrepareStage/PrepareMenu.qml index cf7665bda6..f0779df98f 100644 --- a/plugins/PrepareStage/PrepareMenu.qml +++ b/plugins/PrepareStage/PrepareMenu.qml @@ -5,7 +5,7 @@ import QtQuick 2.9 import QtQuick.Layouts 1.1 import QtQuick.Controls 2.3 -import UM 1.3 as UM +import UM 1.5 as UM import Cura 1.1 as Cura @@ -131,14 +131,10 @@ Item height: UM.Theme.getSize("action_button").height hoverEnabled: true - contentItem: Label + contentItem: UM.Label { text: model.displayText - color: UM.Theme.getColor("text") font: UM.Theme.getFont("medium") - renderType: Text.NativeRendering - verticalAlignment: Text.AlignVCenter - width: contentWidth height: parent.height } |