Hi,

Labels are transformed into <div>s, which have "display: block" by
default. So they naturally stack up vertically (similar to paragraphs
<p>).

Chris

On Feb 27, 2:19 pm, Dalla <[email protected]> wrote:
> Hi all
>
> I´m having an issue using FlowPanel inside the center element of a
> DockLayoutPanel when using UiBinder.
> I expected the widgets to flow from left to right, but instead they
> flow from top to bottom.
>
> That is, given the following UiBinder code:
>
> <g:center >
>         <g:FlowPanel>
>                 <g:Label>Test</g:Label>
>                 <g:Label>Test</g:Label>
>                 <g:Label>Test</g:Label>
>         </g:FlowPanel>
> </g:center>
>
> The result is
>
> Test
> Test
> Test
>
> rather than
>
> Test Test Test
>
> Howcome?
>
> Cheers!

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