oh, if you want to render your panels on click of a button, then you don't
necessarily need two ResizeLayoutPanels, just render the contents of the
appropriate tabLayoutPanel

alternatively, you can set the visibility of the panels to true/ false on
click. this would also force the height adjustment. But I would recommend
the first approach

Thanks
Ashwin



On Tue, Jul 19, 2011 at 9:51 PM, MChan <[email protected]> wrote:

> Yeah, I was setting both heights to 100%.
> When I set the ResizeLayoutPanels height to 50%, I see them both on my test
> page, each taking 50% of the vertical space. That's a start!
>
> However, what I'm trying to achieve is the TabLayoutPanel to show when I
> click on "Show details" on a result.
>
> *Example:*
> Results
>   Result { Title, Date, @"Show details" }
>     When clicking Show details, show TabLayoutPanel with its 2
> tabs, positioned under Result
>   Result ...
>
> Is there a way to fit the *tab content*? My two tabs will generally not
> have the same height, and the content varies from result to result.
> Can the tab height adjust dynamically to its content?
>
> Regards,
> MChan
>
> --
> 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/-/opD5PS4OZrcJ.
>
> 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.
>

-- 
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.

Reply via email to