diff options
| author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-09-02 13:51:45 +0200 |
|---|---|---|
| committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-10-30 13:00:01 +0000 |
| commit | afbf1fcb251c1f751758f62317f1cd9795b79310 (patch) | |
| tree | 5a20f01711379ebca54c4c03430783ece475a460 /src/controls/TextField.qml | |
| parent | 2e48d16e4a230069884ac0585ae111037f4171fb (diff) | |
ScrollView: Don't depend on originY for the internal scrollbar
While originY (and originX) are always zero for Flickable,
other types, like ListView, can and will set its value as
items are added or removed from the view. However, having
the internal scrollbars depend on originY may cause extra
updates and interfere with ListView transitions.
This changes just hardcodes the scrollbar's minimum value
to 0 and translates its value by originY. We also made the
code in ScrollViewHelper a bit more readable, mostly by
renaming the top-level item's id from 'wheelArea' to
'scrollHelper'.
Change-Id: Iac0b4e1dc3ca50ff3cc50fbb85ccaf1eca88edba
Task-number: QTBUG-48044
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/controls/TextField.qml')
0 files changed, 0 insertions, 0 deletions
