So, ItemListBox is the 'new' listbox, correct?
I'm using it and I need the functionality of ensureItemIsVisible but I see no such function in ItemListBox.
Am I missing something?
ItemListBox ensureItemIsVisible
Moderators: CEGUI MVP, CEGUI Team
hiya
i think what you need is setProperty visable
have a look here
http://www.cegui.org.uk/wiki/index.php/SetProperty#ItemListbox
for the use of this
hope this helps
i think what you need is setProperty visable
have a look here
http://www.cegui.org.uk/wiki/index.php/SetProperty#ItemListbox
for the use of this
hope this helps
I have since switched to a Combobox since I had no luck on this.
And it is indeed useful, that's why the old listbox had that function I'm sure.
Maybe explaining why I needed this will give some incentive to add this functionality.
I had an ItemListbox of video resolutions (sorted manually).
Naturally, I would want to have the current resolution be selected in the ItemListbox (and visible!).
And it is indeed useful, that's why the old listbox had that function I'm sure.
Maybe explaining why I needed this will give some incentive to add this functionality.
I had an ItemListbox of video resolutions (sorted manually).
Naturally, I would want to have the current resolution be selected in the ItemListbox (and visible!).
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
This functionality has now been added in branches/v0-6 and will feature in the soon to be released 0.6.2.
I added ScrolledItemListBase::ensureItemIsVisibleVert and ScrolledItemListBase::ensureItemIsVisibleHorz functions (added two new functions because ScrolledItemListBase has nothing that specifies any particular layout).
CE.
I added ScrolledItemListBase::ensureItemIsVisibleVert and ScrolledItemListBase::ensureItemIsVisibleHorz functions (added two new functions because ScrolledItemListBase has nothing that specifies any particular layout).
CE.
Who is online
Users browsing this forum: No registered users and 13 guests