Introduce FlickablePage and ListViewPage components

Bug #1349426 reported by Tim Peeters
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Triaged
Wishlist
Unassigned
ubuntu-ui-toolkit (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

FlickablePage and ListViewPage are intended to be used instead of the current Page with a Flickable or ListView as Page.flickable. Having a FlickablePage/ListViewPage will be less confusing for the developer, and it makes things easier to implement (with less hacks/workarounds in detecting and updating the Page.flickable item).

Currently in Page we try to detect a Flickable or ListView and depending on its anchors and settings we change its topMargin to take our application header into account.

Introducing FlickablePage and ListViewPage makes it easier to set default properties of the Flickable and ListView, and allows us to control which of the Flickable/ListView parameters the app developers can override. We can use it, for example, to define an optimal horizontalVelocity of the Flickable depending on the number of grid units on the device.

Revision history for this message
Tim Peeters (tpeeters) wrote :

Having the Flickable as an internal property of the FlickablePage would allow us to easily control scrolling speed, as is needed to fix this bug https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1348557

Changed in ubuntu-ui-toolkit:
importance: Undecided → Wishlist
description: updated
description: updated
description: updated
description: updated
Tim Peeters (tpeeters)
description: updated
description: updated
Zsombor Egri (zsombi)
Changed in ubuntu-ui-toolkit:
status: New → Triaged
Zoltan Balogh (bzoltan)
Changed in ubuntu-ui-toolkit (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.