mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 13:39:00 +08:00
Improve no connection message
Contributes to CL-1154
This commit is contained in:
parent
7189daec80
commit
1cd9ffefcc
@ -115,11 +115,27 @@ Rectangle
|
|||||||
lineHeight: UM.Theme.getSize("monitor_text_line_large").height
|
lineHeight: UM.Theme.getSize("monitor_text_line_large").height
|
||||||
lineHeightMode: Text.FixedHeight
|
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
|
Item
|
||||||
{
|
{
|
||||||
anchors
|
anchors
|
||||||
{
|
{
|
||||||
left: noNetworkLabel.left
|
left: noNetworkUltimakerLabel.left
|
||||||
}
|
}
|
||||||
visible: !isNetworkConfigured && isNetworkConfigurable
|
visible: !isNetworkConfigured && isNetworkConfigurable
|
||||||
height: UM.Theme.getSize("monitor_text_line").height
|
height: UM.Theme.getSize("monitor_text_line").height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user