canvas.setDrawOnTop(true); Font font = canvas.getCurrentStyle().getFont(); Border itemMargin = canvas.getCurrentStyle().getMargin();
canvas.setDrawOnTop(true); Font font = canvas.getCurrentStyle().getFont(); Border itemMargin = canvas.getCurrentStyle().getMargin();
canvas.addInteractionRegion(mouseInteractionListener); try (SubRegion subRegion = canvas.subRegion(canvas.getRegion(), false)) { canvas.setDrawOnTop(true); for (UIWidget widget : getWidgets()) { if (!widget.isVisible()) { canvas.setDrawOnTop(false);