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:
authorIan Paschal <projects@ianpaschal.com>2019-01-31 16:51:58 +0300
committerIan Paschal <projects@ianpaschal.com>2019-01-31 16:51:58 +0300
commit1cd9ffefcc775493208da2116bd4b57c13b90c35 (patch)
tree05f16a36f3eeeafc0b6e704789211d52d06aa3cb /plugins/MonitorStage
parent7189daec80972176433e4de21d3ea1f34d9bfd4c (diff)
Improve no connection message
Contributes to CL-1154
Diffstat (limited to 'plugins/MonitorStage')
-rw-r--r--plugins/MonitorStage/MonitorMain.qml18
1 files changed, 17 insertions, 1 deletions
diff --git a/plugins/MonitorStage/MonitorMain.qml b/plugins/MonitorStage/MonitorMain.qml
index 5f3a3c9016..a73650ed6a 100644
--- a/plugins/MonitorStage/MonitorMain.qml
+++ b/plugins/MonitorStage/MonitorMain.qml
@@ -115,11 +115,27 @@ Rectangle
lineHeight: UM.Theme.getSize("monitor_text_line_large").height
lineHeightMode: Text.FixedHeight
}
+ Label
+ {
+ id: noNetworkUltimakerLabel
+ anchors
+ {
+ horizontalCenter: parent.horizontalCenter
+ }
+ visible: !isNetworkConfigured && isNetworkConfigurable
+ text: catalog.i18nc("@info", "Please connect your Ultimaker printer to your local network.")
+ font: UM.Theme.getFont("medium")
+ color: UM.Theme.getColor("monitor_text_primary")
+ wrapMode: Text.WordWrap
+ width: contentWidth
+ lineHeight: UM.Theme.getSize("monitor_text_line_large").height
+ lineHeightMode: Text.FixedHeight
+ }
Item
{
anchors
{
- left: noNetworkLabel.left
+ left: noNetworkUltimakerLabel.left
}
visible: !isNetworkConfigured && isNetworkConfigurable
height: UM.Theme.getSize("monitor_text_line").height