Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-25 Thread Fabian Jakobs
Chris Banford schrieb: > Fabian Jakobs wrote: >> Chris, >> >> Thats cool. I'm back from my weekend and find an almost complete flow >> layout :-) Making it easy to write custom layout managers was one of our >> design goal. It's great to see that it actually works. Until now only >> Sebastian an

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-25 Thread Chris Banford
Fabian Jakobs wrote: Chris, Thats cool. I'm back from my weekend and find an almost complete flow layout :-) Making it easy to write custom layout managers was one of our design goal. It's great to see that it actually works. Until now only Sebastian and me have written layout managers for 0.

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-25 Thread Fabian Jakobs
Chris, Thats cool. I'm back from my weekend and find an almost complete flow layout :-) Making it easy to write custom layout managers was one of our design goal. It's great to see that it actually works. Until now only Sebastian and me have written layout managers for 0.8. > I've got a very r

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-23 Thread Chris Banford
Sebastian Werner wrote: > Chris, > > you can also use the SVN and the Sourceforge release handling etc. > when you use the qooxdoo-contrib infrastructure. There you can develop > you layout in open tradition from day 1. We would really like to see a > FlowLayout growing in the contrib infrast

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-23 Thread Sebastian Werner
Chris, you can also use the SVN and the Sourceforge release handling etc. when you use the qooxdoo-contrib infrastructure. There you can develop you layout in open tradition from day 1. We would really like to see a FlowLayout growing in the contrib infrastructure. :) Please have a look at

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-23 Thread Chris Banford
Hi Petr, At some point it will be, but this is the *first* thing I've ever tried to to in qooxdoo, and as such is rather a mess :-) I've got to go back to real work today (at least for a while), but as soon as I've got the Flow layouter working with its AlignX I'll see what I can do about putt

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-23 Thread Petr Kobalíček
Hi Chris, is your work downloadable ? Demo would be nice :-) 2008/8/23 Jim Hunter <[EMAIL PROTECTED]>: > If I may suggest one future additional property, it would be vertical > alignment within each row ["top", "middle", "botton"]. I cludged something > like this in .7.x because I have a need for

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Jim Hunter
If I may suggest one future additional property, it would be vertical alignment within each row ["top", "middle", "botton"]. I cludged something like this in .7.x because I have a need for bottom aligned objects. I can look up the code to give you hints on how I did it if needed. Thanks, Jim On

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Chris Banford
Have gotten the Flow layout to respect child Margins -- Yeay! :-) . Next up is to handle alignX : [ "left", "center", "right" ] As this little project seriously needs to be refactored (I'd like to try and match the coding style of Fabian and Sebastian's H/VBoxes), its time for me to head off d

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Chris Banford
Sebastian Werner wrote: Am 22.08.2008 um 20:03 schrieb Chris Banford: Assuming I can get this layout to a usable stage, what are the requirements for such a beast? This is what I can think of off-hand: * The layout should respect any padding added to the elements it manages. T

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Sebastian Werner
Am 22.08.2008 um 20:03 schrieb Chris Banford: Assuming I can get this layout to a usable stage, what are the requirements for such a beast? This is what I can think of off-hand: The layout should respect any padding added to the elements it manages. That's automatically done for you. Th

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Chris Banford
Sebastian Werner wrote: -- snip -- Basically it's the same you do in the layout process, but without layouting. The problem in a Flow Layout is that the height depends on the available width. This is somewhat comparable to a multi-line Label. I am not sure how to solve this best in a Fl

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Sebastian Werner
>> -- snip -- >> >> -Chris > > Hi List, > > I've got a very rough version of a Flow layout working (similar to > float: left in CSS, but nicer :-) ). That's definitely hot. Wow. > > > I'm sure its still a terrible hack, but really kinda cool I can > figure this type of thing out with basi

Re: [qooxdoo-devel] Flow layout for 0.8

2008-08-22 Thread Chris Banford
Assuming I can get this layout to a usable stage, what are the requirements for such a beast? This is what I can think of off-hand: * The layout should respect any padding added to the elements it manages. * Each wrap of elements should to a new 'row' should clear all elements