diff --git a/core/assets/sprites/sprites.atlas b/core/assets/sprites/sprites.atlas index 209174445b..8c8bdb4553 100644 --- a/core/assets/sprites/sprites.atlas +++ b/core/assets/sprites/sprites.atlas @@ -15926,7 +15926,7 @@ window-empty rotate: false xy: 1308, 494 size: 27, 61 - split: 2, 2, 2, 2 + split: 4, 4, 2, 2 orig: 27, 61 offset: 0, 0 index: -1 diff --git a/core/src/io/anuke/mindustry/core/UI.java b/core/src/io/anuke/mindustry/core/UI.java index 5932541de6..1677d00483 100644 --- a/core/src/io/anuke/mindustry/core/UI.java +++ b/core/src/io/anuke/mindustry/core/UI.java @@ -327,9 +327,9 @@ public class UI implements ApplicationListener, Loadable{ cont.margin(15); cont.add("$error.title").colspan(2); cont.row(); - cont.addImage().fillX().pad(2).colspan(2).height(4f).color(Color.SCARLET); + cont.addImage().width(300f).pad(2).colspan(2).height(4f).color(Color.SCARLET); cont.row(); - cont.add((text.startsWith("$") ? Core.bundle.get(text.substring(1)) : text) + (message == null ? "" : "\n[lightgray](" + message + ")")).colspan(2).center().get().setAlignment(Align.center); + cont.add((text.startsWith("$") ? Core.bundle.get(text.substring(1)) : text) + (message == null ? "" : "\n[lightgray](" + message + ")")).colspan(2).wrap().growX().center().get().setAlignment(Align.center); cont.row(); Collapser col = new Collapser(base -> base.pane(t -> t.margin(14f).add(Strings.parseException(exc, true)).color(Color.LIGHT_GRAY).left()), true);