Two directional FlowBox component, open sourced
March 16th, 2009
Sometimes the design of the application requires visual elements to be placed one after another flowing from first row to the second and so on (just like words in paragraph). We’ve tried to use FlowBox container from FlexLib but it was not quite predictable (especially when it tries to measure its size), so we implemented our own flow layout container. It also has additional features:
- horizontal and vertical directions are supported (“direction” property)
- the children could be arbitrary aligned relative to each other (“alignCoeff” style)
You could see the demo and download the source code (MIT license) here
