mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Fix QML warnings
CURA-5772
This commit is contained in:
parent
2455961ac7
commit
553e29b9b8
4 changed files with 8 additions and 6 deletions
|
@ -174,15 +174,18 @@ Rectangle
|
|||
|
||||
font: UM.Theme.getFont("large_nonbold")
|
||||
text: catalog.i18nc("@label", "Extruder")
|
||||
visible: width < (control.width - extruderIconItem.width - UM.Theme.getSize("default_margin").width)
|
||||
visible: width < (control.width - extruderIcon.width - UM.Theme.getSize("default_margin").width)
|
||||
elide: Text.ElideRight
|
||||
}
|
||||
|
||||
ExtruderIcon
|
||||
{
|
||||
// Round icon with the extruder number and material color indicator.
|
||||
id: extruderIcon
|
||||
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
anchors.left: extruderStaticText.right
|
||||
anchors.leftMargin: UM.Theme.getSize("default_margin").width
|
||||
width: control.height - Math.round(UM.Theme.getSize("default_margin").width / 2)
|
||||
height: width
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue