Fix the height of the IconLabel to avoid getting binding loops.

Contributes to CURA-5942.
This commit is contained in:
Diego Prado Gesto 2018-11-25 18:14:01 +01:00
parent a3bcdaf3b6
commit 9e92542eee
3 changed files with 2 additions and 3 deletions

View file

@ -47,7 +47,6 @@ Column
{
id: estimatedTime
width: parent.width
height: childrenRect.height
text: PrintInformation.currentPrintTime.getDisplayString(UM.DurationFormat.Long)
source: UM.Theme.getIcon("clock")
@ -58,7 +57,6 @@ Column
{
id: estimatedCosts
width: parent.width
height: childrenRect.height
property var printMaterialLengths: PrintInformation.materialLengths
property var printMaterialWeights: PrintInformation.materialWeights

View file

@ -44,7 +44,6 @@ Column
{
id: message
width: parent.width
height: childrenRect.height
visible: widget.backendState == UM.Backend.Error
text: catalog.i18nc("@label:PrintjobStatus", "Unable to Slice")

View file

@ -18,6 +18,8 @@ Item
property alias font: label.font
property alias iconSize: icon.width
implicitHeight: icon.height
UM.RecolorImage
{
id: icon