On Wed, Dec 30, 2009 at 9:11 AM, Koen Deforche <[email protected]> wrote:
> Hey,
>
> You are right. This does not work as it supposed to, and the culprit
> is the LazyLoading, which inserts an intermediate container widget
> breaking the chain of layouts.
>
> As a temporary workaround, PreLoading will work (it does for me in a
> small test case).
> I've filed a bug waiting for a definite solution:
> http://redmine.webtoolkit.eu/issues/show/254

Ah, I thought about the LazyLoading, but skipped it by (since I did
not know it functioned like that).  I will change that to PreLoading
and recompile now, the User thing is lightweight until you are logged
in so that is fine (then it becomes rather heavy, rather one part of
it, I will be lazyloading that later though, already got the structure
ready).  Thanks much for the fix.

After testing, that did fix the first sizing problem, but now a second
has popped up, I did however fix it, but I do not understand *why*
this fixed it.

The newly created menu that had the memberlist was being set as the
layout by this:
  setLayout(smc, AlignJustify|AlignTop);
If I remove the ", AlignJustify|AlignTop" part it then sizes fine, but
*with* that things are having a height of 100% again, with the
WTableView getting 136px (no matter the window size).  Without it
everything sizes fine and the proper px size propagates all the way
down as expected.  So does AlignTop force it to not take all available
space but rather use the minimum space aligned to the top or so?

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to