Fix scrolling through profiles on Qt5.12+

Contributes to issue CURA-6843.
This commit is contained in:
Ghostkeeper 2019-10-04 16:22:15 +02:00
parent b3b28bc330
commit e5c0812acc
No known key found for this signature in database
GPG Key ID: 86BEF881AE2CF276

View File

@ -44,7 +44,7 @@ Popup
ScrollView ScrollView
{ {
property real maximumHeight: screenScaleFactor * 400 property real maximumHeight: screenScaleFactor * 400
contentHeight: dataColumn.height
height: Math.min(contentHeight, maximumHeight) height: Math.min(contentHeight, maximumHeight)
clip: true clip: true
@ -52,6 +52,7 @@ Popup
Column Column
{ {
id: dataColumn
width: parent.width width: parent.width
Repeater Repeater
{ {