diff options
Diffstat (limited to 'resources/qml/CheckBoxWithTooltip.qml')
-rw-r--r-- | resources/qml/CheckBoxWithTooltip.qml | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/resources/qml/CheckBoxWithTooltip.qml b/resources/qml/CheckBoxWithTooltip.qml index e17940014a..9788cc496c 100644 --- a/resources/qml/CheckBoxWithTooltip.qml +++ b/resources/qml/CheckBoxWithTooltip.qml @@ -4,7 +4,7 @@ import QtQuick 2.7 import QtQuick.Controls 2.1 -import UM 1.3 as UM +import UM 1.5 as UM CheckBox { @@ -38,7 +38,7 @@ CheckBox } } - contentItem: Label + contentItem: UM.Label { anchors { @@ -47,10 +47,7 @@ CheckBox } text: checkbox.text color: UM.Theme.getColor("checkbox_text") - font: UM.Theme.getFont("default") - renderType: Text.NativeRendering elide: Text.ElideRight - verticalAlignment: Text.AlignVCenter } ToolTip |