I have finally found the InlineLabel which match this purpose. Thank
you for yours propositions.

Richard.

On 21 août, 16:31, Richard <[email protected]> wrote:
> Hi all,
>
>   I'm new to GWT and I've tryed to display some labels in a flow
> panel. Unfortunately they are displayed as in a VerticalPanel. Where
> am I wrong ? (gwt 1.7, eclipse 3.3, App engine 1.2.2)
>
> ====Module====
> public void onModuleLoad() {
>    FlowPanel flow = new FlowPanel();
>    flow.setWidth("100%");
>    for(int i = 0 ; i < 10 ; i++) {
>       flow.add(new Label("Label"+i));
>    }
>
>    RootPanel.get().add(flow);
>
> }
>
> ===Host page===
> <body>
>     <!-- OPTIONAL: include this if you want history support -->
>     <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
> style="position:absolute;width:0;height:0;border:0"></iframe>
>   </body>
>
> ====Result====
> Label0
> Label1
> Label2
> Label3
> Label4
> Label5
> Label6
> Label7
> Label8
> Label9
>
> ===Result expected====
> Label0Label1Label2Label3Label4Label5Label6Label7Label8Label9
>
> Thanks !
--~--~---------~--~----~------------~-------~--~----~
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