mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 12:35:54 +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.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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user