mirror of
https://github.com/muesli/telephant
synced 2024-11-22 11:23:05 +00:00
Fixed binding loop in ScrollView
This commit is contained in:
parent
d5ae6e563f
commit
77f1f787ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue