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:36:50 +0300
committerc.lamboo <casperlamboo@gmail.com>2022-05-10 16:36:50 +0300
commitf0e3c19a34d1fde3b7ec4fd95677fbefa2028b26 (patch)
tree5333854a5279982cb9c1a7e7885d9f6a09042f25 /plugins/MonitorStage
parentc4f9669887569f01d302382be15a1246e201617d (diff)
Render labels using `Text.QtRendering` on OSX
Fonts were looking a bit to thick on when using `Text.NativeRendering`, so using `Text.QtRendering` instead. After this the font weight looks identical to figma (as far as I can see). In this commit I also changed all `Label`'s to `UM.Label`'s and removed default properties where I could. CURA-9154
Diffstat (limited to 'plugins/MonitorStage')
-rw-r--r--plugins/MonitorStage/MonitorMain.qml6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/MonitorStage/MonitorMain.qml b/plugins/MonitorStage/MonitorMain.qml
index 8992606d90..fdb67d0feb 100644
--- a/plugins/MonitorStage/MonitorMain.qml
+++ b/plugins/MonitorStage/MonitorMain.qml
@@ -132,7 +132,7 @@ Rectangle
width: UM.Theme.getSize("icon_indicator").width
height: UM.Theme.getSize("icon_indicator").height
}
- Label
+ UM.Label
{
id: manageQueueText
anchors
@@ -144,7 +144,6 @@ Rectangle
color: UM.Theme.getColor("text_link")
font: UM.Theme.getFont("medium")
text: catalog.i18nc("@label link to technical assistance", "View user manuals online")
- renderType: Text.NativeRendering
}
MouseArea
{
@@ -155,14 +154,13 @@ Rectangle
onExited: manageQueueText.font.underline = false
}
}
- Label
+ UM.Label
{
id: noConnectionLabel
anchors.horizontalCenter: parent.horizontalCenter
visible: !isNetworkConfigurable
text: catalog.i18nc("@info", "In order to monitor your print from Cura, please connect the printer.")
font: UM.Theme.getFont("medium")
- color: UM.Theme.getColor("text")
wrapMode: Text.WordWrap
width: contentWidth
}