diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-12-14 22:29:22 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2015-12-14 22:37:34 +0000 |
commit | 2153f3fb6b14a8994a71eba3c3165c33f6d7a4a3 (patch) | |
tree | c92a86286cceee97902e2faceab6d61a4546fe60 /src/imports/controls | |
parent | e8fb7657ed686f32e3f431dc2b810e2bbfdc4f60 (diff) |
Fix ScrollBar & ScrollIndicator for the new Gallery
The Gallery example exposed some new bugs. We must let the scroll
bar/indicator initialize its size before layouting it, or else it
will be posioned on the edge and eventually grows outside of the
flickable it is attached to. Therefore, we must monitor the size
changes of the scroll bar/indicator the same way we're monitoring
the size changes of the attached flickable. Furthermore, while
debugging the issue, I noticed that QQuickScrollBar/Indicator were
unnecessarily monitoring all geometry changes. Monitoring only size
changes is enough.
Change-Id: I2581dba29bb4606642ba470dce85534632d7752e
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls')
0 files changed, 0 insertions, 0 deletions