Monday, January 30, 2012

Layout Problem of flowpanel and image

I want to make the two image side by side and the label under the two
image, I try to use the method mentioned in
which said
use FlowPanel, and to use the float: left; CSS property on its
to simulate the effect of HorizontalPanel, but fail, the label is next
to the image.
Also, the image could not auto resize according to my setSize method
on image widget.
image1.setSize("100px", "100px");
so many white space is left,
how to solve these two problems?

I already use standard mode by adding
<!doctype html>
in hosted html

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment