Fixed binding loop in ScrollView

This commit is contained in:
Christian Muehlhaeuser 2019-05-17 15:14:20 +02:00
parent d5ae6e563f
commit 77f1f787ea
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -282,7 +282,7 @@ ApplicationWindow {
anchors.fill: parent
ScrollBar.horizontal.policy: contentWidth > width ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
contentWidth: Math.max(maingrid.implicitWidth, width)
contentWidth: Math.max(maingrid.implicitWidth, parent.width)
GridLayout {
id: maingrid