aspose file tools*
The moose likes GWT and the fly likes Layout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Layout problem" Watch "Layout problem" New topic
Author

Layout problem

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
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]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Layout problem