Fix: do not trim the text in the statistics screen (#1810)
This commit is contained in:
parent
e69f092d3a
commit
a728da6a2a
1 changed files with 3 additions and 3 deletions
|
@ -56,13 +56,13 @@ class CityInfoTable(private val cityScreen: CityScreen) : Table(CameraStageBaseS
|
|||
val titleTable = Table().background(ImageGetter.getBackground(ImageGetter.getBlue()))
|
||||
val width = cityScreen.stage.width/4 - 2*pad
|
||||
val showHideTableWrapper = Table()
|
||||
showHideTableWrapper.add(showHideTable).width(width)
|
||||
showHideTableWrapper.add(showHideTable).minWidth(width)
|
||||
titleTable.add(str.toLabel(fontSize = 24))
|
||||
titleTable.onClick {
|
||||
if(showHideTableWrapper.hasChildren()) showHideTableWrapper.clear()
|
||||
else showHideTableWrapper.add(showHideTable).width(width)
|
||||
else showHideTableWrapper.add(showHideTable).minWidth(width)
|
||||
}
|
||||
add(titleTable).width(width).row()
|
||||
add(titleTable).minWidth(width).row()
|
||||
add(showHideTableWrapper).row()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue