Thursday, August 30, 2012

setHeight on DockLayoutPanel won't shrink the north widget

I want to shrink the height of DocuLayoutPanel by calling panel.setHeight(String px) however, this call won't shrink the north child of the panel. How can I shrink all the widgets so that overflowed widgets are not visible? With even setHeight("0px") north child remains its full height assigned (which is 58px in below case)

Here is my markup:

    <g:DockLayoutPanel unit="PX">
         <g:north size="58"><g:HTMLPanel>North Child</g:HTMLPanel></g:north>
         <g:center><g:FlexTable /></g:center>

Thanks in advance!

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment