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