Friday, May 25, 2012

Re: zero width widgets

I suspect this is from mixing layoutpanels with non-layoutpanels. By
and large, layoutpanels (anything with LayoutPanel as part of its
name) need to form an unbroken chain with a previous layoutpanel all
the way back to RootLayoutPanel. If you have an HTMLPanel or
simplepanel or other non-layoutpanel between layoutpanels, the inner
layoutpanel will be sized to zero unless you explicitly set its width
and height.

On May 25, 7:59 am, Matthew Pocock <turingatemyhams...@gmail.com>
wrote:
> Hi,
>
> I seem to have recurrent problems with building up gwt layouts where things
> don't appear, and when I dig into the elemnt tree in chrome, I find that
> things are getting a zero width. Is there a standard cheat list I should be
> going through to debug these kind of issues?
>
> Thanks,
>
> Matthew
>
> --
> Dr Matthew Pocock
> Integrative Bioinformatics Group, School of Computing Science, Newcastle
> University
> mailto: turingatemyhams...@gmail.com
> gchat: turingatemyhams...@gmail.com
> msn: matthew_poc...@yahoo.co.uk
> irc.freenode.net: drdozer
> skype: matthew.pocock
> tel: (0191) 2566550
> mob: +447535664143

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