Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorc.lamboo <casperlamboo@gmail.com>2022-05-10 16:39:02 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-05-10 16:39:02 +0300
commit35f5c3f959a7d5ad85b0e2d8e0514cde509ca6c8 (patch)
treef650ab192e92ddb2797361efbe87b5f2c27e04fc /resources/qml/PrinterTypeLabel.qml
parentf0e3c19a34d1fde3b7ec4fd95677fbefa2028b26 (diff)
Revert "Render labels using `Text.QtRendering` on OSX"
This reverts commit f0e3c19a34d1fde3b7ec4fd95677fbefa2028b26.
Diffstat (limited to 'resources/qml/PrinterTypeLabel.qml')
-rw-r--r--resources/qml/PrinterTypeLabel.qml7
1 files changed, 5 insertions, 2 deletions
diff --git a/resources/qml/PrinterTypeLabel.qml b/resources/qml/PrinterTypeLabel.qml
index 7b9acc19c9..f2e8dc6f48 100644
--- a/resources/qml/PrinterTypeLabel.qml
+++ b/resources/qml/PrinterTypeLabel.qml
@@ -4,7 +4,7 @@
import QtQuick 2.7
import QtQuick.Controls 2.1
-import UM 1.5 as UM
+import UM 1.1 as UM
// This component creates a label with the abbreviated name of a printer, with a rectangle surrounding the label.
// It is created in a separated place in order to be reused whenever needed.
@@ -24,11 +24,14 @@ Item
radius: UM.Theme.getSize("checkbox_radius").width
}
- UM.Label
+ Label
{
id: printerTypeLabel
text: "CFFFP" // As an abbreviated name of the Custom FFF Printer
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
+ renderType: Text.NativeRendering
+ font: UM.Theme.getFont("default")
+ color: UM.Theme.getColor("text")
}
} \ No newline at end of file