thierryg
08-06-2016 14:17:27
Hi,
I'm using setInvertSelected(true) with my comboBoxes.
When I'm using layouts from the layout Editor, it works perfectly :

But when I'm creating comboBox by code, it doesn't.
In my game, I'm clearing and re-creating the comboBox items, depending of the game assets, like this :
And, as a result, no item are invertSelected at all :

Am I doing something wrong ?
T.
I'm using setInvertSelected(true) with my comboBoxes.
When I'm using layouts from the layout Editor, it works perfectly :
But when I'm creating comboBox by code, it doesn't.
In my game, I'm clearing and re-creating the comboBox items, depending of the game assets, like this :
wave_particules->removeAllItems();
wave_particules->addItem(itbbp->second->screenName);
And, as a result, no item are invertSelected at all :
Am I doing something wrong ?
T.