Each section of a DockLayoutPanel may only contain one Widget, you
have two in your center, you'll need to put panel1 and panel2, inside
a container panel, and have that as the widget in center.

On Sat, Sep 24, 2011 at 12:37 PM, Brito <[email protected]> wrote:
> I am having the problem when I compile my project. I send the code
> segement. Advance thanks.
>
> <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
>        xmlns:g='urn:import:com.google.gwt.user.client.ui'>
>        <g:DockLayoutPanel ui:field="dock1">
>                <g:north size="25">
>                     <g:FlowPanel>
>                           <g:Button ui:field="save">Save</ g:Button>
>                     </g:FlowPanel>
>                </g:north>
>                <g:center>
>                   <g:FlowPanel ui:field="panel1">
>                               <g:Button ui:field="button1">Mark1</
> g:Button>
>                                <g:Button ui:field="button2">Mark2</
> g:Button>
>                   </g:FlowPanel>
>                  <g:VerticalPanel ui:field="panel2">
>                                <g:TextArea ui:field="textArea" />
>                  /g:VerticalPanel>
>                </g:center>
>        </g:DockLayoutPanel>
> </ui:UiBinder>
>
> --
> 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.
>
>

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