File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes Layout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » GWT
Reply Bookmark "Layout problem" Watch "Layout problem" New topic
Author

Layout problem

peter tong
Ranch Hand

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




[Thumb - problem1.JPG]
 Filename problem1.JPG [Disk] Download
 Description Problem Image Layout
 Filesize 70 Kbytes
 Downloaded:  0 time(s)

 
 
subject: Layout problem
 
Threads others viewed
SplitLayoutPanel.setSize
creating a single Image from two images.
Help!Help!
Run Time error
how to make the border of tree widget invisible
Two Laptop Bag

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture