mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-18 16:05:53 +08:00
Tweak styling
CURA-1036
This commit is contained in:
parent
f6e31cd97a
commit
8bc2c6e042
@ -353,19 +353,22 @@ Rectangle
|
|||||||
|
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
|
height: UM.Theme.getSize("setting_control").height
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: label
|
text: label
|
||||||
color: UM.Theme.getColor("setting_control_text");
|
color: printerConnected ? 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
|
width: base.width * 0.4
|
||||||
elide: Text.ElideRight;
|
elide: Text.ElideRight
|
||||||
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
}
|
}
|
||||||
Label
|
Label
|
||||||
{
|
{
|
||||||
text: value
|
text: value
|
||||||
color: UM.Theme.getColor("setting_control_text");
|
color: printerConnected ? 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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user