mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-16 17:06:02 +08:00
Fix binding loop in LabelBar
CURA-6598
This commit is contained in:
parent
de1065f0a3
commit
68d3cf8412
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user