summaryrefslogtreecommitdiffstats
path: root/examples/quick/layouts/doc/src
diff options
context:
space:
mode:
authorJan Arve Sæther <jan-arve.saether@qt.io>2019-10-14 14:39:48 +0200
committerJan Arve Sæther <jan-arve.saether@qt.io>2019-11-12 15:25:42 +0200
commitc89f7a221b7c31a0a4e1b0eed2e91d7633f4eab2 (patch)
treed91cc462a3da8bb9e3260694d7c8e75a0655ca9d /examples/quick/layouts/doc/src
parent63042da9c94fd8d04583631249a7bfa54ba2656f (diff)
Fix a layout bug caused by a delegate item that was moved by the user5.13
The position of the first item in the list of visualItems was used to know how to layout the rest of the visual items. However, this did not work if the first item was actually moved (e.g. due to a DnD operation). We therefore store the position of the first visual item after each time we arrange it, and use that as a basis on where to start layouting from. Task-number: QTBUG-78076 Change-Id: I837f5b7d61a13d98d23287685c6fd66817360906 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/quick/layouts/doc/src')
0 files changed, 0 insertions, 0 deletions