Added filename entry

This commit is contained in:
Anuken
2018-10-24 13:09:42 -04:00
parent 605d50166a
commit f87d297155
2 changed files with 2 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ text.level.delete.title=Confirm Delete
text.map.delete=Are you sure you want to delete the map "[orange]{0}[]"? text.map.delete=Are you sure you want to delete the map "[orange]{0}[]"?
text.level.select=Level Select text.level.select=Level Select
text.level.mode=Gamemode: text.level.mode=Gamemode:
text.filename=File Name:
text.construction.desktop=To deselect a block or stop building, [accent]use space[]. text.construction.desktop=To deselect a block or stop building, [accent]use space[].
text.construction.title=Block Construction Guide text.construction.title=Block Construction Guide
text.construction=\ text.construction=\

View File

@@ -52,7 +52,6 @@ public class FileChooser extends FloatingDialog{
} }
private void setupWidgets(){ private void setupWidgets(){
//getCell(content()).maxWidth(UIUtils.portrait() ? Gdx.graphics.getWidth() : Gdx.graphics.getWidth()/Unit.dp.scl(2f));
content().margin(-10); content().margin(-10);
Table content = new Table(); Table content = new Table();
@@ -137,7 +136,7 @@ public class FileChooser extends FloatingDialog{
icontable.add(up); icontable.add(up);
Table fieldcontent = new Table(); Table fieldcontent = new Table();
fieldcontent.bottom().left().add(new Label("File Name:")); fieldcontent.bottom().left().add(new Label("$text.filename"));
fieldcontent.add(filefield).height(40f).fillX().expandX().padLeft(10f); fieldcontent.add(filefield).height(40f).fillX().expandX().padLeft(10f);
Table buttons = new Table(); Table buttons = new Table();