mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-23 06:09:38 +08:00
Tweak monitor items for long jobnames
CURA-2125
This commit is contained in:
parent
f2a44bec8d
commit
fcfcfa37fb
@ -82,21 +82,24 @@ Column
|
|||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
|
width: base.width - 2 * UM.Theme.getSize("default_margin").width
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
width: parent.width * 0.4
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: label
|
text: label
|
||||||
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
width: base.width * 0.4
|
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
|
width: parent.width * 0.6
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
text: value
|
text: value
|
||||||
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
color: printerConnected && printerAcceptsCommands ? UM.Theme.getColor("setting_control_text") : UM.Theme.getColor("setting_control_disabled_text")
|
||||||
font: UM.Theme.getFont("default")
|
font: UM.Theme.getFont("default")
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
elide: Text.ElideRight
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user