Fix buttons row being clipped on height
This commit is contained in:
parent
40188d4d25
commit
347382dd69
1 changed files with 3 additions and 2 deletions
|
@ -115,7 +115,9 @@ class CustomizeScreen implements Screen {
|
|||
});
|
||||
optionsGroup.addActor(webButton);
|
||||
|
||||
table.add(new ScrollPane(optionsGroup)).pad(20, 4, 12, 4);
|
||||
// Use the same height as the buttons (for instance, the back button)
|
||||
table.add(new ScrollPane(optionsGroup))
|
||||
.pad(20, 4, 12, 4).height(backButton.getHeight());
|
||||
|
||||
// Load all the available themes
|
||||
final MoneyBuyBand buyBand = new MoneyBuyBand(game);
|
||||
|
@ -142,7 +144,6 @@ class CustomizeScreen implements Screen {
|
|||
themesGroup.addActor(card);
|
||||
}
|
||||
|
||||
themesGroup.space(8);
|
||||
table.add(new ScrollPane(themesGroup)).expand().fill();
|
||||
|
||||
// Show the current money row
|
||||
|
|
Loading…
Reference in a new issue