..ah, let me restate that.

This ui.xml makes the tab panel layout in the center of the dock panel
disappear:

  <g:DockLayoutPanel unit='EM'>
        <g:north size='5'>
          <g:HTML><div>north</div></g:HTML>
        </g:north>
                <g:east size='2'>
          <g:HTML><div>east</div></g:HTML>
        </g:east>
                <g:south size='2'>
          <g:HTML><div>south</div></g:HTML>
        </g:south>
                <g:west size='12'>
          <g:HTML><div>west</div></g:HTML>
        </g:west>
                <g:center size='2'>             
                        <g:HorizontalPanel>
                          <g:TabLayoutPanel ui:field="tabLayoutPanel" 
barHeight="28">
                                <g:tab><g:header>This</g:header>
                                        <g:HTML>
                                                Lorem ipsum dolor sit amet, 
consectetur adipiscing elit.
                                        </g:HTML>
                                </g:tab>
                                <g:tab><g:header>That</g:header>
                                        <g:HTML>
                                                In consequat, odio non 
tincidunt ornare, metus diam cursus odio,
eget venenatis nulla sapien non massa.
                                        </g:HTML>
                                </g:tab>
                                <g:tab><g:header>The 
Other</g:header><g:HTML>the other</g:HTML></g:tab>
                          </g:TabLayoutPanel>
                        </g:HorizontalPanel>
        </g:center>
  </g:DockLayoutPanel>

The same goes for VerticalPanel.

But, if I switch to a FlowPanel wrapping the TabLayoutPanel, the tabs
appear but the content under the tabs does not.

sfm

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to