SmartGWT versions : 2.5, 3.0
Browser : FF 11 (Only tested in this one)
GWT Dev Mode (Not tested in production mode)
Steps to reproduce :
1. Click many times in the "add new item to window" button (5 - 8 times)
2. Click the "show" button
The content of the window goes beyond the window. Please check screenshot.
Best Regards.
Browser : FF 11 (Only tested in this one)
GWT Dev Mode (Not tested in production mode)
Steps to reproduce :
1. Click many times in the "add new item to window" button (5 - 8 times)
2. Click the "show" button
The content of the window goes beyond the window. Please check screenshot.
Code:
final Window window = new Window(); window.setAutoSize(true); window.setVisible(false); IButton button = new IButton("add new item to window"); button.setAutoFit(true); button.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { DynamicForm form = new DynamicForm(); form.setItems(new SelectItem()); window.addItem(form); } }); IButton button2 = new IButton("show"); button2.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { window.setVisible(true); } }); HLayout layout = new HLayout(); layout.setMembers(window, button, button2); layout.draw();
Comment