Page 1 of 1

Scrolling a list of custom elements

Posted: Thu May 14, 2015 19:31
by realloc
HI!

Now that I got cegui and ceed working I played a bit with it and already created a custom filesystem dialog in combination with boost::filesystem -> cegui is very awesome!

However, for some sort of map editor I already wrote a GUI with SFGui some time ago and now I want to replace it with an implementation using cegui.
For this purpose I need to create some sort of palette, in SFGui I created some kind of scrollable list widget containing instances of a custom widget:

Image

Image

Image

What would you suggest/How would you achieve something like this in cegui? Should I create some sort of modified version of the Listbox or a totally new container widget?

Thank you for your help and interest!

(sry for bad English, it's not my native language)

Re: Scrolling a list of custom elements

Posted: Thu May 14, 2015 19:48
by lucebac
I think you need something like ScrollabelPane. Just look into the samples - there should be one showing how ScrollablePane works.