Wednesday, November 24, 2010

Re: DockLayoutPanel can not show center element using uibinder

Have you declared that you want "standards mode" in the DOCTYPE of the
host HTML page? I also vaguely remember having better success when
the center panel was the last thing added (but perhaps this was before
Uibinder). In any case, I've gotten into the habit of always putting
the center panel last.

smoyer

On Nov 10, 2:40 pm, Plutarco <plutarco.gonza...@gmail.com> wrote:
> I have the same issue:
>
> <g:DockLayoutPanel unit='EM' ui:field='dockLayout'>
>                 <g:north size='5'>
>                 <g:Label>Top</g:Label>
>                 </g:north>
>                 <g:center>
>                 <g:Label>Body</g:Label>
>                 </g:center>
>                 <g:west size='10'>
>                     <g:HTML>
>                       <ul>
>                         <li>Sidebar</li>
>                         <li>Sidebar</li>
>                         <li>Sidebar</li>
>                       </ul>
>                     </g:HTML>
>                 </g:west>
>         </g:DockLayoutPanel>
>
> I can´t see Body and Sidebar. After check my source-html if a remove
> overflow:hidden its works!..
> How can I change this property?
>
> Yes, Im using RootLayoutPanel.
>
> thank you
>
> On 10 nov, 08:57, zixzigma <zixzi...@gmail.com> wrote:
>
> > i think, in your onModuleLoad method,
>
> >         RootPanel.get().add( new ExpensesShell() );
>
> > change RootPanel to RootLayoutPanel.
>
> > please report back if it works.
> > thank you

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

No comments:

Post a Comment