Open Mazi-S opened 2 weeks ago
I've noticed that .withBackground does not work with some components. @Gleethos I guess it's not intentional?
.withBackground
of(this).withLayout("wrap 2", "", "[]5[]15[]5[]15[]5[]") .add(SPAN(2), label("panel")) .add(panel().withPrefSize(100, 50).withBackground(COLOR)) .add(panel().withPrefSize(100, 50).withStyle(delegate -> delegate.backgroundColor(COLOR))) .add(SPAN(2), label("label")) .add(label("").withPrefSize(100, 50).withBackground(COLOR)) .add(label("").withPrefSize(100, 50).withStyle(delegate -> delegate.backgroundColor(COLOR))) .add(SPAN(2), label("html")) .add(html("").withPrefSize(100, 50).withBackground(COLOR)) .add(html("").withPrefSize(100, 50).withStyle(delegate -> delegate.backgroundColor(COLOR)));
I've noticed that
.withBackground
does not work with some components. @Gleethos I guess it's not intentional?