<div dir="ltr">Thanks for the demo, Chris, looks interesting.<div><br></div><div>UI-wise I might want something similar, but inside a pulley menu the challenges are different. Let me illustrate with the screenshots. There are two concepts that need to work in concert: Combobox behavior with small/large number of items and two ways of activating pulley menu item (open-tap or pull-and-position).</div>

<div><br></div><div><b>*Background*</b></div><div>1. ComboBox with small/large number of items</div><div>When there are just a few lines, combobox unwraps in place and it looks cool:</div><div><img src="cid:ii_141d01cfc89477e9" alt="Inline image 2"><br>

</div><div><br></div><div>When there are many lines, it opens in a separate view:</div><div><img src="cid:ii_141d01e43c86eac0" alt="Inline image 3"><br></div><div><br></div><div>2. Menu activation</div><div>There are two ways to activate a menu item</div>

<div>2.1 Open menu fully and then tap</div><div>2.2 Pull carefully and release when the desired option is selected:</div><div><img src="cid:ii_141d02028b32cdb6" alt="Inline image 4"><br></div><div><br></div><div><b>*Desired situation*</b></div>

<div>Well, I want the combobox to be selectable via this 2.2 way - pull until the lang choice combobox and it unwraps in whichever way it thinks is appropriate (full screen or in place). The final result should look just as if user opened menu in full and then tapped on the lang choice combobox</div>

<div><br></div><div><b>*The problem*</b></div><div>You can put anything inside the PullDownMenu, e.g. combobox itself, but the only items that can be selected the pull-carefully way are MenuItems. I can wrap a combobox with the MenuItem, but when selected.. it automatically closes the menu. I want to prevent it and even more - I want menu to unwrap full at the click moment, so that combobox could operate and resize fine.</div>

<div><br></div><div>I fail to achieve it so far, maybe somebody could help or state that selecting non-trivial actions the pull-carefully way is against the [coming?] Sailfish UI guidelines.</div><div><br></div><div>Best regards,</div>

<div>Artem.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Oct 18, 2013 at 6:34 PM,  <span dir="ltr"><<a href="mailto:christopher.lamb@thurweb.ch" target="_blank">christopher.lamb@thurweb.ch</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Artem<br>
<br>
Are you saying that when the pulley menu opens, the "Change Language" menu item would already be expanded with a list of languages?<br>
<br>
If so, my gut reaction is that that would be a little strange. I would expect the ComboBox to open when the user clicks "Change Language".<br>
<br>
<br>
However I fought with something similar some months ago. In my case I have a ListView, in this case with a list of countries. When one is PressedAndHeld, a ContextMenu opens below the MenuItem, and the ListView must resize (i.e. expand) accordingly. This proved quite tricky to do.<br>


<br>
I have just posted a small demo project I made at the time to Github at:<br>
<br>
<a href="https://github.com/sailfishapps/ThrowawayDemos/tree/master/Working/LandedSettingsCMenuDemo2" target="_blank">https://github.com/<u></u>sailfishapps/ThrowawayDemos/<u></u>tree/master/Working/<u></u>LandedSettingsCMenuDemo2</a><br>


<br>
m.f.g<br>
<br>
Chris<br>
<br>
Zitat von "Artem Marchenko" <<a href="mailto:artem.marchenko@gmail.com" target="_blank">artem.marchenko@gmail.com</a>>:<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All<br>
<br>
*ComboBox inside the pulley menu*<br>
I am trying to have a language selection in a pulley menu. ComboBox seems<br>
to be ideal for this purpose, I add it into the PullDownMenu and everything<br>
works just great except that the user has to expand the menu fully for<br>
clicking on ComboBox, this item is not activatable during the pull.<br>
<br>
*Activation during the pull*<br>
Well, I want it to activate during the pull, so I wrapped it into a<br>
MenuItem and passed onClicked from MenuItem to inner ComboBox. That works<br>
fine if combobox has so many items that it launches a full page on click.<br>
<br>
So I tried preventing pulley from closing via cancelBounceBack() - doesn't<br>
look good, not the same as if user activates item manually.<br>
<br>
*How do I expand the pulley menu fully programmatically*<br>
- So how do I simulate the situation when user fully expands the pulley<br>
menu then?<br>
- Or is the whole idea wrong and [coming] UI guidelines are going to tell<br>
that only true single line MenuItems should be selectable during pull?<br>
<br>
<br>
Best regards,<br>
Artem.<br>
<br>
--<br>
Artem Marchenko<br>
<a href="http://agilesoftwaredevelopment.com" target="_blank">http://<u></u>agilesoftwaredevelopment.com</a><br>
<a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a><br>
<br>
</blockquote>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Artem Marchenko<br><a href="http://agilesoftwaredevelopment.com" target="_blank">http://agilesoftwaredevelopment.com</a><br><a href="http://twitter.com/AgileArtem" target="_blank">http://twitter.com/AgileArtem</a>
</div>