SetFlex Method
SetFlex(IStyle, StyleFloat, StyleFloat, StyleLength)
Short hand for setting flex properties in one go, like in the USS flex property.
Declaration
public static void SetFlex(this IStyle style, StyleFloat grow, StyleFloat shrink, StyleLength basis)
Parameters
IStyle | style | The style to modify |
StyleFloat | grow | The value for flexGrow |
StyleFloat | shrink | The value for flexShrink |
StyleLength | basis | The value for flexBasis |