I am currently working on a GUI using GWT and I am experiencing a
problem with overlapping widgets. Hopefully the images I provided
below will make it clear.
First I have a SimplePanel, containing a VerticalPanel which has both
a Button and a Label. It looks like this: http://goo.gl/j1Yi
Next I click the Button. The ClickHandler code is:
@Override
public void onClick(ClickEvent event) {
SimplePanel anotherSimplePanel = new SimplePanel();
SimplePanel.add(new Button("New Button"));
simplePanel.setWidget(anotherSimplePanel);
}
But the outcome looks like this: http://goo.gl/ErHS
Why is the new button overlapping the old stuff? Should it be replaced
entirely?
The widgets behind New Button cannot be clicked or used, it's like
only the graphical parts remain.
Any advice would be much appreciated!
Maurice
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment