This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
SplitLayoutPanel.setSize
how to make the border of tree widget invisible
creating a single Image from two images.
Run Time error
Help!Help!