This commit is contained in:
Anuken
2019-11-02 09:40:41 -04:00
parent b78e04a2de
commit ea9e23f924
3 changed files with 10 additions and 7 deletions

View File

@@ -114,7 +114,7 @@ public class SchematicsDialog extends FloatingDialog{
Label label = c.add(s.name()).style(Styles.outlineLabel).color(Color.white).top().growX().maxWidth(200f - 8f).get();
label.setEllipsis(true);
label.setAlignment(Align.center);
}).growX().margin(1).pad(4).maxWidth(200f - 8f).padBottom(0);
}).growX().margin(1).pad(4).maxWidth(Scl.scl(200f - 8f)).padBottom(0);
})).size(200f);
}, () -> {
if(sel[0].childrenPressed()) return;