mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Dialog fix
This commit is contained in:
parent
c4c0f45228
commit
3bac32e04a
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user