Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Layout problem

peter tong
Ranch Hand
Posts: 248
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Moving to Standards Mode
which said

use FlowPanel, and to use the float: left; CSS property on its children

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.

so many white space is left,
how to solve these two problems?

the relevant code is attached as follows:

[Thumbnail for problem1.JPG]
Problem Image Layout
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic