float:left;

Ian

http://examples.roughian.com


2008/12/7 mayop100 <[EMAIL PROTECTED]>

>
> I'm trying to use a FlowPanel to lay out some widgets I created. I was
> able to get it to lay out checkboxes and labels, just fine, but if I
> add something more complex, like a Panel, everything shows up on its
> own row. Following is some code that demonstrates the problem. With
> label, I was able to use "display:inline" to make things work, but
> with Panels it does not seem to help.
>
> FlowPanel flowPanel = new FlowPanel();
>            for (int i = 0; i < 30; i++) {
>              HorizontalPanel wrap = new HorizontalPanel();
>              wrap.setStyleName("DisplayInline");
>              Label lx = new Label("tesfsdf ");//new PictureUploadBox());
>              lx.setStyleName("DisplayInline");
>              wrap.add(lx);
>              flowPanel.add(wrap);
>            }
>
> My CSS:
> .DisplayInline {
>        display: inline;
> }
>
> Any help would be greatly appreciated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
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