Re: [UFO-devel] UBoxLayout
Status: Beta
Brought to you by:
schmidtjf
From: Andreas B. <b_...@gm...> - 2005-12-01 18:25:24
|
On Thursday 01 December 2005 15:09, Johannes Schmidt wrote: > Am Mittwoch 30 November 2005 23:05 schrieb Andreas Beckermann: > > Hi > > the attached patch implements "stretch" areas for UBoxLayout and makes > > widgets use remaining space. > > Something like this is already implemented using the flex attribute > (I think since Feb 05) which corresponds to the XUL flex attribute. > > [...] > > > After that I am going to move this file into our "ufoext" library and > > make a "don't use UBoxLayout - use this instead" policy in BoUfo. > > If the flex attribute (which truly is hardly documented outside of the XUL > files) does not fit your needs, this will be the best way. At least the hint that flex is defined by XUL would have been helpful.. it seems that the "flex" attribute should do the same as the "stretch" attribute in my patch. Well, I know that my code is working, so I don't see much point in porting over to the "official" code. And certainly not while that official code is undocumented. I hate working with black boxes if there are better ways. So I'm gonna maintain this in an extension library, just like the multiline label patch and some smaller things :) > Regards, > Johannes CU Andi |