I need to add some small image icons(16*16) into a flowPanel. But the
image icons do not lay on a line. Each image icon occupies one line.
Can some one tells me what the problem is. My code sample is below:

                                FlowPanel toolPanel = new FlowPanel();
                Images images = GWT.create(Images.class);
                PushButton openButton = new PushButton(new 
Image(images.open()));
                toolPanel.add(openButton);
                PushButton cutButton = new  PushButton(new Image(images.cut()));
                toolPanel.add(cutButton);
                PushButton pasteButton = new PushButton(new 
Image(images.paste()));
                toolPanel.add(pasteButton);

 Thanks for help.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to