Hi everybody,
I’ve got some Problems with the Scene2D.ui ScrollPane.
I have a Table witch holds several Actors like TextFields, Buttons and Labels. Then I create a new ScrollPane based on that Table. The vertical scrollbar moves according to my mouse/wheel movement but the content itself isn’t moving.
http://img542.imageshack.us/img542/9224/scrollfail2b9c8.png
As you can see: The Bar moves but the Content doesn’t.
The code for the ScrollPane:
Window w = new Window("someTitle", someWindowStyle);
Table content = new Table();
//'content' is filled with some Actors
ScrollPane scroll = new ScrollPane(content, someScrollPaneStyle);
w.add(scroll);
That’s a shorted version of course but basically that’s how I do it.
Is this error known? I tried it for quite a long time now but it’s not working and I have no idea why.
I hope there’s someone around here who can help me with that problem.
If you need more information please let me know.
twinflyer