Fix binding loop in LabelBar

CURA-6598
This commit is contained in:
Jaime van Kessel 2019-08-29 14:12:17 +02:00
parent de1065f0a3
commit 68d3cf8412

View file

@ -17,7 +17,7 @@ Item
{
anchors.left: parent.left
anchors.right: parent.right
height: childrenRect.height
height: label.height
spacing: 0
Repeater
{
@ -27,9 +27,8 @@ Item
Item
{
Layout.fillWidth: true
Layout.fillHeight: true
Layout.maximumWidth: index + 1 === repeater.count || repeater.count <= 1 ? itemSize : base.width / (repeater.count - 1)
height: childrenRect.height
height: label.height
Label
{
id: label