~faenil/ubuntu-ui-toolkit/flickableBasedScrollView

Viewing all changes in revision 1709.

  • Committer: Andrea Bernabei
  • Date: 2015-12-08 16:14:43 UTC
  • Revision ID: andrea.bernabei@canonical.com-20151208161443-t6wjxyn87hxnpjdu
[qml scrollview]: use Flickable as base type of ScrollView. ABANDONED (see commit msg)

This doesn't work, because:            
- it requires        
  Scrollbar { parent: scrollview.parent } 
  to make the scrollbar interactive even when Flickable is flicking. 
  After talking to SDK team, we decided we don't want that, scrollview.parent could be anything.
  We can't even grab mouse from within scrollbar, because Flickable doesn't let us receive
  events while it's flicking. (tried with preventStealing, onPressed is not fired).

- In the ListView usecase, we would have Flickable { ListView {} }... no good.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: