You don't actually need the old divider in the way you're suggesting.
You're assuming there would be an equivalent new component when in fact
the ListItem itself now provides it. I think we need to improve the
documentation.
Example of a divider in the new API:
divider {
visible: true
colorFrom: UbuntuColors.red
colorTo: UbuntuColors.green
}
The colors are optional, it can be as simple as
divider.visible: action != actions[actions.length - 1]
(In this example assuming an ActionSelectionPopover where the delegate
has an "action" and the model is a list of Action items)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1470951
Title:
ListItem.Standard deprecated, but ListItem.ThinDivider not - two
imports
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1470951/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs