Fixed map list dialog
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user