[SailfishDevel] How to fully expand PullDownMenu programmatically or elsehow to use expandable menu items?

Artem Marchenko artem.marchenko at gmail.com
Thu Oct 17 23:15:08 UTC 2013

Hi All

*ComboBox inside the pulley menu*
I am trying to have a language selection in a pulley menu. ComboBox seems
to be ideal for this purpose, I add it into the PullDownMenu and everything
works just great except that the user has to expand the menu fully for
clicking on ComboBox, this item is not activatable during the pull.

*Activation during the pull*
Well, I want it to activate during the pull, so I wrapped it into a
MenuItem and passed onClicked from MenuItem to inner ComboBox. That works
fine if combobox has so many items that it launches a full page on click.

So I tried preventing pulley from closing via cancelBounceBack() - doesn't
look good, not the same as if user activates item manually.

*How do I expand the pulley menu fully programmatically*
- So how do I simulate the situation when user fully expands the pulley
menu then?
- Or is the whole idea wrong and [coming] UI guidelines are going to tell
that only true single line MenuItems should be selectable during pull?

Best regards,

Artem Marchenko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20131018/44567289/attachment.html>

More information about the Devel mailing list