mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 17:55:52 +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
|
id: estimatedTime
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height
|
|
||||||
|
|
||||||
text: PrintInformation.currentPrintTime.getDisplayString(UM.DurationFormat.Long)
|
text: PrintInformation.currentPrintTime.getDisplayString(UM.DurationFormat.Long)
|
||||||
source: UM.Theme.getIcon("clock")
|
source: UM.Theme.getIcon("clock")
|
||||||
@ -58,7 +57,6 @@ Column
|
|||||||
{
|
{
|
||||||
id: estimatedCosts
|
id: estimatedCosts
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height
|
|
||||||
|
|
||||||
property var printMaterialLengths: PrintInformation.materialLengths
|
property var printMaterialLengths: PrintInformation.materialLengths
|
||||||
property var printMaterialWeights: PrintInformation.materialWeights
|
property var printMaterialWeights: PrintInformation.materialWeights
|
||||||
|
@ -44,7 +44,6 @@ Column
|
|||||||
{
|
{
|
||||||
id: message
|
id: message
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: childrenRect.height
|
|
||||||
visible: widget.backendState == UM.Backend.Error
|
visible: widget.backendState == UM.Backend.Error
|
||||||
|
|
||||||
text: catalog.i18nc("@label:PrintjobStatus", "Unable to Slice")
|
text: catalog.i18nc("@label:PrintjobStatus", "Unable to Slice")
|
||||||
|
@ -18,6 +18,8 @@ Item
|
|||||||
property alias font: label.font
|
property alias font: label.font
|
||||||
property alias iconSize: icon.width
|
property alias iconSize: icon.width
|
||||||
|
|
||||||
|
implicitHeight: icon.height
|
||||||
|
|
||||||
UM.RecolorImage
|
UM.RecolorImage
|
||||||
{
|
{
|
||||||
id: icon
|
id: icon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user