mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 00:26:01 +08:00
CURA-4870 Correctly align the name with the connection icon when the
printer is connected to USB
This commit is contained in:
parent
b44f32ad1d
commit
3ce51bb255
@ -71,8 +71,8 @@ ToolButton
|
|||||||
color: UM.Theme.getColor("sidebar_header_text_active")
|
color: UM.Theme.getColor("sidebar_header_text_active")
|
||||||
text: control.text;
|
text: control.text;
|
||||||
elide: Text.ElideRight;
|
elide: Text.ElideRight;
|
||||||
anchors.left: isNetworkPrinter ? printerStatusIcon.right : parent.left;
|
anchors.left: printerStatusIcon.visible ? printerStatusIcon.right : parent.left;
|
||||||
anchors.leftMargin: isNetworkPrinter ? UM.Theme.getSize("sidebar_lining").width : UM.Theme.getSize("sidebar_margin").width
|
anchors.leftMargin: printerStatusIcon.visible ? UM.Theme.getSize("sidebar_lining").width : UM.Theme.getSize("sidebar_margin").width
|
||||||
anchors.right: downArrow.left;
|
anchors.right: downArrow.left;
|
||||||
anchors.rightMargin: control.rightMargin;
|
anchors.rightMargin: control.rightMargin;
|
||||||
anchors.verticalCenter: parent.verticalCenter;
|
anchors.verticalCenter: parent.verticalCenter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user