Hi,

Nice work.

The only thing I do not quite understand is why the first line of the bottom aligned flow layout is shorter. The result should remain the same, only there should be an extra step to move at the end.

Also, if you are at it, would it be possible to produce a center aligned version?

Cheers,
Doru


On Wed, Oct 22, 2014 at 10:09 PM, Pierre CHANSON <chans.pierre@gmail.com> wrote:

Hello,

To FlowLayout users, I am modifying RTAbstractFlowLayout and subclasses for Roassal2 and I would appreciate to hear your opinions on some modifications:


First I changed the Flow layout maxWith value at the initialization to take account of the global area of elements and gapsize. (see screen1,  RTObject https://www.dropbox.com/s/7hlsmiklqefb7cn/screen1.png?dl=0 )

Then I fixed the align Bottom, so the elements do not collide each others. The only remaining difference is the first line is the less filled. It is due to creating the layout from bottom to up. (The order of elements still remain the same from the left top corner to the right down.) (see screen2 https://www.dropbox.com/s/7kr3gy4e3gwvvgl/screen2.png?dl=0) Does this difference have any importance ?


Finally i am adding a HorizontalFlow layout. (right queued or left queued, using align bottom) See the screen3 (https://www.dropbox.com/s/nmgq8cg0f4p3m6u/screen3.png?dl=0), the alignement is vertical, do you think it’s usefull ? Should I make a horizontal alignement (In that case it would only be a increasement of maxWidth…) ?

Thank you !

Pierre Chanson

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--
www.tudorgirba.com

"Every thing has its own flow"