Make TreeView flickable
-
Says here that TreeView inherits from ScrollView: http://doc.qt.io/qt-5/qml-qtquick-controls-treeview.html
Compared to ListView which inherits from Flickable: http://doc.qt.io/qt-5/qml-qtquick-listview.html
Is there a way to make TreeView also flick instead (or in addition to) scrolling? Would be much better from tablets!
Thanks.
-
@Pheelbert
TreeView
doesnot inheritFlickable
so AFAIK that is not possible. Even if you putTreeView
insideScrollView
orFlickable
it wont flick the items but the wholeTreeView
. -
This is a highly desirable feature to many people I believe, myself included.
Another part of TableView that should be improved is dynamic rowHeight. Having your Text wordWrap screws with the height calculation and I'm about to spend a day or more creating my own QML implementation of a combination TextMetrics with QML exposed functionality for QFontMetricsF (TextMetrics doesn't have any options for wordWrap).
I've seen the above issue unresolved in many blogs, ideas on a workaround would be greatly appreciated.
-
@bmurphy You can make a feature request at bugreports.qt.io. Also you can try asking the same on http://lists.qt-project.org/mailman/listinfo/interest or http://lists.qt-project.org/mailman/listinfo/development.