"flex" property for FlexItem


#1

Hi !

I’m currently working on a UI using the new FlexBox feature, but I can’t find the “flex” property of an item, which modifies flex-grox, flex-basis and flex-shrink of the item. It’s really useful for the layout of a multi-row/column window.

Is it not implemented, or i’m just not founding it ? If it’s not, it would be a great addition I think !


#2

Alright, I’m stupid, just found it ! Sorry

FlexItem withFlex (float newFlexGrow, float newFlexShrink, float newFlexBasis)