@Override public void onEmit () { pressResult.text.update("Clicked"); }
}), AxisLayout.stretch(pressResult)),
new Group(AxisLayout.horizontal().gap(15), GREENBG).add(
new Label("Image button"),
new ImageButton(tile(squares, 0), tile(squares, 1)).onClick(new UnitSlot() {
@Override public void onEmit () { clickCount.increment(1); }
}),
new ValueLabel(clickCount)),
new Group(AxisLayout.horizontal().gap(15), GREENBG).add(
new Button("Fill Box").onClick(new UnitSlot() {
@Override public void onEmit () {