>>

-- 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 basically zero  qooxdoo  
> experience (speaks bands for the quality of the underlying code).

Writing new layouts is basically a lot easier in 0.8 and hopefully  
would not cost to much for the basic feature set :)


>
>
> Here's a quick screen shot showing some buttons of differing height  
> wrapping around to to the left of the container.
>
> A question for the qooxdoo devs: what is conceptually the best way  
> to calculate _computeSizeHint() ?
> At the moment I've just copied the method from Grow, but I don't  
> really know what it should be returning for something like a Flow  
> layout.

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 Flow layout. Let's  
talk about this method again next week.

The method does not need a real implementation. When you can live  
without auto-sizing which you normally can in a Flow layout, you can  
simply return null.

Sebastian


>
>
> -Chris
>
>
>
>
>
>
> <Flow  
> layout 
> .jpg 
> > 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to