Horizontal and Vertical alignment added to FlowContainer

A long overdue update for FlowContainer. A lot of you have emailed me asking for verticalAlign and horizontalAlign to be added to the flowcontainer. A combination of be not being able to do it, and me not getting around to it has resulted in it not being done yet. But today one of my colleagues Curt Elasser decided to take on the task himself. I've put up the demo again with added comboBoxes to set the vertical and horizontal alignment. Feel free to take a look

Here is the source
and
Here is the demo

Feel free to use this in any project you want.

Thanks again and feel free to leave comments

Eric

Tags: , , ,

2 Responses to “Horizontal and Vertical alignment added to FlowContainer”


  1. Flex - FlowContainer « [ APPDIVISION ]
    on May 13th, 2009
    @ 1:52 pm

    [...] NEW VERSION OF COMPONENT RELEASED HERE [...]


  2. Maciek
    on May 27th, 2009
    @ 2:48 pm

    Nice, but horizontalAlign does not seem to do anything when the flow direction is horizontal. E.g., if I have a 200px FlowContainer and add three 150px boxes, when horizontalAlign is center, I would expect each box to occupy its own row, and stay in the center 25px from both edges. Currently, the boxes within each row are always left-justified.

Leave a Reply