2009/4/1 Neo <[email protected]> > > Hi Ian, > Thats really sad to hear :(. > Any possible workarounds ?
Not really. These widgets (at least the ones I looked at in 1.5, and probably 1.6 as well or they'd have fixed it) set their child widgets up while detached, so percentage sizes don't work on the children, and they use percentages for themselves, so if you nest them, they *are* the child and that is why they get screwed (if I remember correctly - it was nearly a year ago now). There are *some* situations where they will work - for example, setting up a SplitPanel in the child area of an *open* DisclosurePanel and then closing it works, but you see this actually happening, partly because some browsers are like that, but in the others too, because these panels use deferred commands. Even then, if the user closes the DP and the DP is detached from the DOM (as might well happen with tabs, or your own menu system) then when you come back, it's screwed again. There may be a way around it, but I haven't found one and the Google guys haven't mentioned one. I think we'll have to wait for V2 and hope that these widgets are rewiritten so they work if nested. Ian http://examples.roughian.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
