Hey, 2009/12/30 OvermindDL1 <[email protected]>: > 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?
Yes. That is in fact the only effect AlignTop has: it doesn't try to constrain the size of the contained contents to be the size of the parent. Regards, koen ------------------------------------------------------------------------------ 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
