Less stacking in objectives dialog
This commit is contained in:
@@ -427,12 +427,11 @@ public class MapObjectivesDialog extends BaseDialog{
|
||||
stack(
|
||||
canvas = new MapObjectivesCanvas(),
|
||||
new Table(){{
|
||||
buttons.defaults().size(170f, 64f).pad(2f);
|
||||
buttons.defaults().size(160f, 64f).pad(2f);
|
||||
buttons.button("@back", Icon.left, MapObjectivesDialog.this::hide);
|
||||
buttons.button("@add", Icon.add, () -> getProvider(MapObjective.class).get(new TypeInfo(MapObjective.class), canvas::query));
|
||||
|
||||
if(mobile){
|
||||
buttons.row();
|
||||
buttons.button("@cancel", Icon.cancel, canvas::stopQuery).disabled(b -> !canvas.isQuerying());
|
||||
buttons.button("@ok", Icon.ok, canvas::placeQuery).disabled(b -> !canvas.isQuerying());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user