Clamp sector description in info

This commit is contained in:
Anuken
2021-09-11 12:15:34 -04:00
parent 90c2473448
commit 5cf47f4198
2 changed files with 5 additions and 5 deletions

View File

@@ -750,7 +750,7 @@ public class PlanetDialog extends BaseDialog implements PlanetInterfaceRenderer{
c.defaults().padBottom(5);
if(sector.preset != null && sector.preset.description != null){
c.add(sector.preset.displayDescription()).left().row();
c.add(sector.preset.displayDescription()).width(420f).wrap().left().row();
}
c.add(Core.bundle.get("sectors.time") + " [accent]" + sector.save.getPlayTime()).left().row();