mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:15:54 +08:00
Fix the height of the IconLabel to avoid getting binding loops.
Contributes to CURA-5942.
This commit is contained in:
parent
a3bcdaf3b6
commit
9e92542eee
@ -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
|
||||
|
@ -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")
|
||||
|
@ -18,6 +18,8 @@ Item
|
||||
property alias font: label.font
|
||||
property alias iconSize: icon.width
|
||||
|
||||
implicitHeight: icon.height
|
||||
|
||||
UM.RecolorImage
|
||||
{
|
||||
id: icon
|
||||
|
Loading…
x
Reference in New Issue
Block a user