Hi all,
I have the following code:
<g:DockLayoutPanel unit='PX' ui:field="dockPanel">
<g:north size='35'>
<g:HTMLPanel>
Header
</g:HTMLPanel>
</g:north>
<g:center>
<g:ScrollPanel width = "100%" height = "100%">
<p1:CellTree ui:field="cellTree"/>
</g:ScrollPanel>
</g:center>
</g:DockLayoutPanel>
This DockLayoutPanel is in turn attached to other layout panel who is
attached to the root layout panel.
The behavior that I want is that when the user starts opening nodes in
the tree and the cell tree grows bigger than the panel that contains
it, a scroll bar will appear and the user can scroll and see all the
nodes.
The scroll bar never appears though. After searching on the net I
found that I have to set the height is absolute units for the scroll
panel. But how can I set it with absolute units, when I want the panel
to fill the whole area, and I don't know how big the browser window
will be?
I guess there must be a simple solution to this, but I can't find
it...
Any ideas?
Thanks,
Ioan
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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.