我有个问题。在移动了表中的小部件(拥有滚动窗格)之后,Libgdx Scrollpane滚动不足。这是我的代码示例。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.谢谢你的帮助。
添加回答
举报
0/150
提交
取消