Updated build.gradle, changed scroll dialog, UI tweaks

This commit is contained in:
Anuken
2017-11-27 22:23:47 -05:00
parent 0c6578c229
commit c0d28eca65
29 changed files with 385 additions and 306 deletions

View File

@@ -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();

View File

@@ -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();
}
}