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>
    </g:DockLayoutPanel>

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 https://groups.google.com/d/msg/google-web-toolkit/-/4__ZIRAaVDQJ.
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