Minor UI tweaks

This commit is contained in:
Anuken
2020-07-30 09:40:46 -04:00
parent c9316bd9fa
commit bc8f02666a
2 changed files with 7 additions and 7 deletions

View File

@@ -545,8 +545,8 @@ settings.graphics = Graphics
settings.cleardata = Clear Game Data... settings.cleardata = Clear Game Data...
settings.clear.confirm = Are you sure you want to clear this data?\nWhat is done cannot be undone! settings.clear.confirm = Are you sure you want to clear this data?\nWhat is done cannot be undone!
settings.clearall.confirm = [scarlet]WARNING![]\nThis will clear all data, including saves, maps, unlocks and keybinds.\nOnce you press 'ok' the game will wipe all data and automatically exit. settings.clearall.confirm = [scarlet]WARNING![]\nThis will clear all data, including saves, maps, unlocks and keybinds.\nOnce you press 'ok' the game will wipe all data and automatically exit.
settings.clearsaves.confirm = Are you sure you want to clear all saves? settings.clearsaves.confirm = Are you sure you want to clear all your saves?
settings.clearsaves = Clear all saves settings.clearsaves = Clear Saves
paused = [accent]< Paused > paused = [accent]< Paused >
clear = Clear clear = Clear
banned = [scarlet]Banned banned = [scarlet]Banned

View File

@@ -104,7 +104,7 @@ public class SettingsMenuDialog extends SettingsDialog{
} }
Core.app.exit(); Core.app.exit();
})); })).marginLeft(4);
t.row(); t.row();
@@ -112,7 +112,7 @@ public class SettingsMenuDialog extends SettingsDialog{
ui.showConfirm("$confirm", "$settings.clearsaves.confirm", () -> { ui.showConfirm("$confirm", "$settings.clearsaves.confirm", () -> {
control.saves.deleteAll(); control.saves.deleteAll();
}); });
}); }).marginLeft(4);
t.row(); t.row();
@@ -136,7 +136,7 @@ public class SettingsMenuDialog extends SettingsDialog{
} }
}); });
} }
}); }).marginLeft(4);
t.row(); t.row();
@@ -154,11 +154,11 @@ public class SettingsMenuDialog extends SettingsDialog{
ui.showErrorMessage("$data.invalid"); ui.showErrorMessage("$data.invalid");
} }
} }
}))); }))).marginLeft(4);
if(!mobile){ if(!mobile){
t.row(); t.row();
t.button("$data.openfolder", Icon.folder, style, () -> Core.app.openFolder(Core.settings.getDataDirectory().absolutePath())); t.button("$data.openfolder", Icon.folder, style, () -> Core.app.openFolder(Core.settings.getDataDirectory().absolutePath())).marginLeft(4);
} }
}); });