Posts Tagged ‘Flexlib’

a tip for Flexbox of Flexlib–How to re-layout the children when the width of FlowBox is set to 100%

System-Box-Empty The width of FlowBox will be the sum of its children’s width, if the width of FlowBox is set to 100%. So FlowBox will never re-layout the children.

It’s simple to solve this problem, just bind the width of FlowBox to the width of its parent or other fixed number.

Full code after the jump(Download full project Downloadhere).
(more…)