Maybe your DockLayoutPanel needs to use PX units. That has been a problem 
with IE.

https://groups.google.com/d/msg/google-web-toolkit/yPdM13GXO_M/cELkQjsKg64J

I'm using PX units on a DockLayoutPanel that contains a TabLayoutPanel. It 
works for me.

On Tuesday, May 15, 2012 1:25:37 AM UTC-4, Abhishek wrote:
>
> Here is my ui.xml - 
>
> <!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent";> 
>
> <ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" 
> xmlns:g="urn:import:com.google.gwt.user.client.ui"> 
>
>   <ui:with type="com.company.group.resources.project" field="resource"/ 
> > 
>    <g:DockLayoutPanel unit='EM'> 
>               <g:north size='12'> 
>                       <g:VerticalPanel> 
>                               <g:HorizontalPanel> 
>                                       <g:Image resource = 
> "{resource.Logo}" /> 
>                                       <g:TabLayoutPanel ui:field="tab" 
> barHeight="20" 
> barUnit="PX"> 
>                              <g:tab><g:header>Tab1</ 
> g:header><g:HTMLPanel>Tab1</g:HTMLPanel></g:tab> 
>                              <g:tab><g:header>Tab2</ 
> g:header><g:HTMLPanel>Tab2</g:HTMLPanel></g:tab> 
>                                 </g:TabLayoutPanel> 
>                          </g:HorizontalPanel> 
>                       </g:VerticalPanel> 
>               </g:north> 
>               <g:west size ='20'> 
>                       <g:VerticalPanel> 
>                       </g:VerticalPanel> 
>               </g:west> 
>               <g:center> 
>                       <g:VerticalPanel> 
>                       </g:VerticalPanel> 
>               </g:center> 
>       </g:DockLayoutPanel> 
> </ui:UiBinder> 
>
>
> Here is my java code - 
>
>
> public class PrototypeView extends Composite 
> { 
>         /** UIBinder instance. */ 
>         private static MyViewUiBinder uiBinder = 
> GWT.create(MyViewUiBinder.class); 
>
>         /** Custom UIBinder interface for this view's widgets. */ 
>         interface MyViewUiBinder extends UiBinder<Widget, PrototypeView> 
>         {} 
>
>         public PrototypeView() 
>         { 
>                 initWidget(uiBinder.createAndBindUi(this)); 
>         } 
>
> } 
>
> public class MyEntryPoint implements EntryPoint { 
>
>
>     @Override 
>     public void onModuleLoad() { 
>
>         RootLayoutPanel.get().add(new PrototypeView()); 
>     } 
>
> } 
>
> When I run my app, the Tabs do not show up. Please Help. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/I0jYCsPfPlEJ.
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