diff --git a/assets/mod.json b/assets/mod.json index 1e3008b..12d342f 100644 --- a/assets/mod.json +++ b/assets/mod.json @@ -1,6 +1,6 @@ { "name": "unitinfo", - "displayName": "Unit Infomation", + "displayName": "Unit Information", "author": "Sharlotte", "description": "The mod displays more information in-game, such as unit/building, wave, core, tile, item/unit total info etc", "version": "1.3.4.2", diff --git a/src/UnitInfo/core/HudUi.java b/src/UnitInfo/core/HudUi.java index 661dc69..422de6c 100644 --- a/src/UnitInfo/core/HudUi.java +++ b/src/UnitInfo/core/HudUi.java @@ -236,8 +236,7 @@ public class HudUi { Table statusTable = (Table)waveTable.getChildren().get(1); // TODO: Use scene.find("statustable") when https://github.com/Anuken/Mindustry/pull/5904 is merged waveTable.removeChild(statusTable); table.row(); - - table.stack(waveInfoTable, statusTable.top(), pathlineTable); + table.stack(waveInfoTable, statusTable.top(), pathlineTable).fillX().colspan(table.getColumns()); } public void reset(int index, Seq