setHeight on DockLayoutPanel won't shrink the north widget

17 views
Skip to first unread message

M

unread,
Aug 30, 2012, 9:02:28 AM8/30/12
to google-we...@googlegroups.com
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!
Reply all
Reply to author
Forward
0 new messages