Units in overview now scrollable
This commit is contained in:
parent
c1cc32e95b
commit
788e0d115f
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class EmpireOverviewScreen : CameraStageBaseScreen(){
|
|||
val setUnitsButton = TextButton("Units".tr(),skin)
|
||||
setUnitsButton .onClick {
|
||||
centerTable.clear()
|
||||
centerTable.add(getUnitTable())
|
||||
centerTable.add(ScrollPane(getUnitTable())).height(stage.height*0.8f)
|
||||
centerTable.pack()
|
||||
centerTable.center(stage)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue