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.
As you can see: The Bar moves but the Content doesn't.The code for the ScrollPane:
1 2 3 4 5 6 7 8 9
| Window w = new Window("someTitle", someWindowStyle);
Table content = new Table();
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