I have a question. Libgdx Scrollpane doesnt scroll enough after widgets in the table (that owns a scroll pane) was moved.
Here is the sample from my code.
Table scrollPaneTable = new Table();
Scrollpane itemsScrollPane = new ScrollPane(scrollPaneTable);
...
mainTable.add(itemsScrollPane).width(WIDTH).height(HEIGHT);
...
//adding items in the scrollPaneTable
// everything is work perfect at this moment.
....
for (final Actor actor : scrollPaneTable.getChildren()) {
...
actor.moveBy(MAIN_QUEST_ITEM_WIDTH * chapterData.quests.size * direction, 0);
...
}
...
//after I move actor in the table, scrollpane scrolls like before, I can't reach the last items.
Thanks for your help.