Code:
public void onModuleLoad() { SC.showConsole(); VLayout layout = new VLayout(); Button b = new Button("b"); b.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { System.out.println("clicked"); } }); CanvasItem ci = new CanvasItem(); ci.setCanvas(b); DynamicForm form = new DynamicForm(); form.setItems(ci); layout.addMember(form); layout.draw(); }
Im aware of the ButtonItem component, but I use the same Button type in several part of the application, even outside forms.
I suspect its some bug introduced lately.
Any idea of how keep to use the Button instead ButtonItem? Thx.
Comment