diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-09-07 14:13:51 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-09-10 09:31:04 +0000 |
commit | 5ec0599032b78d628ab562d839ae4bf2414c7bf6 (patch) | |
tree | 60da351e66de16a4f655d57734e81bf8114c3850 /src/quick/scenegraph | |
parent | 2aaf007c1367f58ce80bc660c56ab2c3284d1388 (diff) |
QQuickTableView: don't set contentX/Y to zero when building the table
Don't reset the content item to 0,0 when we do a rebuild of the
table, since that will overwrite whatever the user has set to contentX/Y
explicitly. Doing the latter can be handy if he needs to flick the table
to a start position upon construction. If the user want's to move the
content item back to origin when changing the model, he can instead do
so manually.
Change-Id: Ic7bc424312569e49115dea5037dd1109261a3aff
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quick/scenegraph')
0 files changed, 0 insertions, 0 deletions