Both Image and Label have addClickHandler() methods. You can use that. I would align two objects in a VerticalPanel with the setVerticalAlignment() method. However the docs (http://code.google.com/webtoolkit/doc/2.0/DevGuideUiPanels.html) say " VerticalPanel<http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/VerticalPanel.html>can usually be replaced by a simple FlowPanel<http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/ui/FlowPanel.html>(since block-level elements will naturally stack up vertically)."
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
