为了账号安全,请及时绑定邮箱和手机立即绑定

移动表(拥有滚动窗格)中的小部件后,Libgdx Scrollpane滚动不足

移动表(拥有滚动窗格)中的小部件后,Libgdx Scrollpane滚动不足

偶然的你 2021-04-16 18:19:14
我有个问题。在移动了表中的小部件(拥有滚动窗格)之后,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.谢谢你的帮助。
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 224 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信