Sunday, August 29, 2010

DisclosurePanel and ScrollPanel

Hello, everybody!
I have simple layout, something like this
<g:DisclosurePanel >
<g:header>Edit Lists</g:header>
<g:HTMLPanel>
some stuff here
</g:HTMLPanel>
</g:DisclosurePanel>

<g:ScrollPanel>
<g:Tree ui:field="listTree" />
</g:ScrollPanel>

What is Disclosure panel followed by ScrollPanel. What I expect is
when I expand Disclosure panel ScrollPanel becomes smaller and user
can see scrollbar.
But it never happens. Scrollpanel just moves down keeping the same
size. Is there a way to give to scrollpanel the rest of parent's
space?

Thank you,
Andrey

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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