Updated build.gradle, changed scroll dialog, UI tweaks
This commit is contained in:
@@ -29,6 +29,7 @@ public class LevelDialog extends FloatingDialog{
|
||||
addCloseButton();
|
||||
Table maps = new Table();
|
||||
ScrollPane pane = new ScrollPane(maps);
|
||||
pane.setFadeScrollBars(false);
|
||||
|
||||
int maxwidth = 4;
|
||||
|
||||
@@ -75,6 +76,8 @@ public class LevelDialog extends FloatingDialog{
|
||||
});
|
||||
image.getImageCell().size(images).units(Unit.dp);
|
||||
maps.add(image).width(170).pad(4f).units(Unit.dp);
|
||||
|
||||
maps.padRight(Unit.dp.inPixels(26));
|
||||
}
|
||||
|
||||
content().add(pane).uniformX();
|
||||
|
||||
@@ -156,7 +156,7 @@ public class HudFragment implements Fragment{
|
||||
atop();
|
||||
aleft();
|
||||
new label((StringSupplier)()->Profiler.formatDisplayTimes());
|
||||
}}.width(400f).end();
|
||||
}}.width(400f).units(Unit.dp).end();
|
||||
}}.end();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user