mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-04-27 07:50:54 -07:00
Added filename entry
This commit is contained in:
parent
605d50166a
commit
f87d297155
2 changed files with 2 additions and 2 deletions
|
|
@ -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.level.select=Level Select
|
||||
text.level.mode=Gamemode:
|
||||
text.filename=File Name:
|
||||
text.construction.desktop=To deselect a block or stop building, [accent]use space[].
|
||||
text.construction.title=Block Construction Guide
|
||||
text.construction=\
|
||||
|
|
|
|||
|
|
@ -52,7 +52,6 @@ public class FileChooser extends FloatingDialog{
|
|||
}
|
||||
|
||||
private void setupWidgets(){
|
||||
//getCell(content()).maxWidth(UIUtils.portrait() ? Gdx.graphics.getWidth() : Gdx.graphics.getWidth()/Unit.dp.scl(2f));
|
||||
content().margin(-10);
|
||||
|
||||
Table content = new Table();
|
||||
|
|
@ -137,7 +136,7 @@ public class FileChooser extends FloatingDialog{
|
|||
icontable.add(up);
|
||||
|
||||
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);
|
||||
|
||||
Table buttons = new Table();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue