mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-10 12:51:16 +07:00
Resolved #2872 - Diplomacy screen now scrollable when there's too much text
This commit is contained in:
parent
fef63865f7
commit
bde0b97138
@ -31,7 +31,7 @@ class DiplomacyScreen(val viewingCiv:CivilizationInfo):CameraStageBaseScreen() {
|
|||||||
|
|
||||||
init {
|
init {
|
||||||
onBackButtonClicked { UncivGame.Current.setWorldScreen() }
|
onBackButtonClicked { UncivGame.Current.setWorldScreen() }
|
||||||
val splitPane = SplitPane(ScrollPane(leftSideTable), rightSideTable, false, skin)
|
val splitPane = SplitPane(ScrollPane(leftSideTable), ScrollPane(rightSideTable), false, skin)
|
||||||
splitPane.splitAmount = 0.2f
|
splitPane.splitAmount = 0.2f
|
||||||
|
|
||||||
updateLeftSideTable()
|
updateLeftSideTable()
|
||||||
|
Loading…
Reference in New Issue
Block a user