diff --git a/core/src/mindustry/logic/LStatement.java b/core/src/mindustry/logic/LStatement.java index bf8637ac63..ea54bd833b 100644 --- a/core/src/mindustry/logic/LStatement.java +++ b/core/src/mindustry/logic/LStatement.java @@ -114,6 +114,7 @@ public abstract class LStatement{ t.actions(Actions.alpha(0), Actions.fadeIn(0.3f, Interp.fade)); t.top().pane(inner -> { + inner.marginRight(24f); inner.top(); hideCons.get(inner, hide); }).top(); diff --git a/core/src/mindustry/logic/LStatements.java b/core/src/mindustry/logic/LStatements.java index f7f5d2ea4f..d8fce354ad 100644 --- a/core/src/mindustry/logic/LStatements.java +++ b/core/src/mindustry/logic/LStatements.java @@ -528,7 +528,9 @@ public class LStatements{ stack.clearChildren(); stack.addChild(tables[selected]); - t.pack(); + + t.parent.parent.pack(); + t.parent.parent.invalidateHierarchy(); }).size(80f, 50f).growX().checked(selected == fi).group(group); } t.row();