Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-26 Thread Franck Routier (perso)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Interestingly, the workaround that worked with paged ComboBox (that is use onCurrentItemChanged) stopped to work as soon as I switch to MenuItems defined from a Repeater. With MenuItems defined from Repeater, onCurrentItemChanged fires everytime the pa

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Le 22/01/2014 09:21, Andrey Kozhevnikov a écrit : > from onCurrentItem changed check currentIndex and do action. It's the > only way to get paged combobox to work. Thanks. This worked and I will do that waiting for a proper fix in Sailfish. BR, Franck _

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Andrey Kozhevnikov
from onCurrentItem changed check currentIndex and do action. It's the only way to get paged combobox to work. On 22.01.2014 14:02, Franck Routier (perso) wrote: Hi, I have a ComboBox with MenuItem. OnClicked, each MenuItem updates a value in a component of my page. So far, so good. But when

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Ok, so this is a known bug. I'll keep my MenuItems below 7 that triggers the "menu on another page" behaviour for now and wait for the proposed patch to be applied. Thanks, Franck Le 22/01/2014 09:08, Mikko Leppänen a écrit : > Hi, > > Look at the thread: > ​​ > ​​ > ​​ > http > ​s​ > ://www.mai

Re: [SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Mikko Leppänen
Hi, Look at the thread: ​​ ​​ ​​ http ​s​ ://www.mail-archive.com/devel@lists.sailfishos.org/msg02026.html ​/Mikko​ 2014/1/22 Franck Routier (perso) > Hi, > > I have a ComboBox with MenuItem. OnClicked, each MenuItem upda

[SailfishDevel] ComboBox with many MenuItems

2014-01-22 Thread Franck Routier (perso)
Hi, I have a ComboBox with MenuItem. OnClicked, each MenuItem updates a value in a component of my page. So far, so good. But when adding more item, the menu list is displayed on a second page. I can choose an item, but the inClicked function does not act as it does with less items (and the "sta