mirror of
https://github.com/muesli/telephant
synced 2025-02-16 19:48:24 +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
|
anchors.fill: parent
|
||||||
ScrollBar.horizontal.policy: contentWidth > width ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
|
ScrollBar.horizontal.policy: contentWidth > width ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
|
||||||
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
|
ScrollBar.vertical.policy: ScrollBar.AlwaysOff
|
||||||
contentWidth: Math.max(maingrid.implicitWidth, width)
|
contentWidth: Math.max(maingrid.implicitWidth, parent.width)
|
||||||
|
|
||||||
GridLayout {
|
GridLayout {
|
||||||
id: maingrid
|
id: maingrid
|
||||||
|
|
Loading…
Add table
Reference in a new issue