mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-12 19:09:34 +07:00
Fixed map list dialog
This commit is contained in:
parent
126cca9e86
commit
ccf85b81c8
@ -126,7 +126,7 @@ public abstract class MapListDialog extends BaseDialog{
|
||||
mapTable.row();
|
||||
}
|
||||
|
||||
TextButton button = mapTable.button("", Styles.grayt, () -> showMap(map)).width(mapsize).bottom().growY().pad(8).get();
|
||||
TextButton button = mapTable.button("", Styles.grayt, () -> showMap(map)).width(mapsize).bottom().pad(8).get();
|
||||
button.clearChildren();
|
||||
button.margin(9);
|
||||
button.bottom();
|
||||
@ -140,6 +140,9 @@ public abstract class MapListDialog extends BaseDialog{
|
||||
t.image(icon).size(16f).pad(4f);
|
||||
}
|
||||
}
|
||||
if(t.getChildren().size == 0){
|
||||
t.add().size(16f).pad(4f);
|
||||
}
|
||||
}).left().row();
|
||||
|
||||
button.add(map.name()).width(mapsize - 18f).center().get().setEllipsis(true);
|
||||
|
Loading…
Reference in New Issue
Block a user