Better UI for certain dialogs

This commit is contained in:
Anuken
2020-06-03 22:40:43 -04:00
parent 5bcaed54c6
commit c25ea81926
6 changed files with 34 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ public class CustomGameDialog extends BaseDialog{
ScrollPane pane = new ScrollPane(maps);
pane.setFadeScrollBars(false);
int maxwidth = Mathf.clamp((int)(Core.graphics.getWidth() / Scl.scl(200)), 1, 8);
int maxwidth = Math.max((int)(Core.graphics.getWidth() / Scl.scl(210)), 1);
float images = 146f;
int i = 0;