added NullRenderer

This commit is contained in:
Frank 2022-07-15 12:55:53 +02:00
parent 06d7848e30
commit ecb6ca1586
5 changed files with 101 additions and 24 deletions

View file

@ -22,8 +22,7 @@ public class TestScreen extends Screen {
protected void init() {
super.init();
main = new Panel(this.width, this.height);
HorizontalStack<?> columns = new HorizontalStack<>(DynamicSize.relative(1), DynamicSize.relative(1));
VerticalStack<?> rows = new VerticalStack<>(DynamicSize.fit(), DynamicSize.relative(1));
VerticalStack rows = new VerticalStack(DynamicSize.fit(), DynamicSize.relative(1));
rows.addFiller();
rows.add(new Range<>(