[Interest] QML GridView: how to scroll to selected item
Sergey
sh0375 at gmail.com
Wed Apr 17 13:03:07 CEST 2013
Hi,
Flow property of GridView has these possible values:
- GridView.LeftToRight (default) - Items are laid out from left to
right, and the view scrolls vertically
- GridView.TopToBottom - Items are laid out from top to bottom, and the
view scrolls horizontally
Is it possible to tune QML GridView to have fixed number of columns/rows
even if they are not fit into viewbox and scroll to selected item both
horizontally and vertically (in both directions)?
This is how QT UI QTrableWidget behaves.
Regards,
Sergey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: working-statically.zip
Type: application/x-zip-compressed
Size: 4076 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130417/b88a7483/attachment.bin>
More information about the Interest
mailing list