Fix recommended-menu layer-height-label for Qt-5.10.0

part of CURA-6598
This commit is contained in:
Remco Burema 2019-08-07 15:50:00 +02:00 committed by Jaime van Kessel
parent c7b6133e3d
commit b56c09bcf4

View File

@ -28,7 +28,7 @@ Item
{ {
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true
Layout.maximumWidth: index + 1 === repeater.count ? itemSize: 200000000 Layout.maximumWidth: index + 1 === repeater.count || repeater.count <= 1 ? itemSize : base.width / (repeater.count - 1)
height: childrenRect.height height: childrenRect.height
Label Label
{ {