Flex justification uses Yoga Layout's justify-content.
Up to now, SpaceEvenly of Yoga Layout's justify-content has not been
added to flex justification.
SpaceAround distributes the equal space to before, and after each item.
Therefore, the space between adjacent items is twice bigger than the
space between the beginning edge and the first item.
To distribute the equal space to before, between, and after each item,
SpaceEvenly is added to flex justification.
Change-Id: Icb4e1f1aa74f52a5cfe8f1399e9f42457c8c081f
CENTER, ///< Items are positioned at the center of the container
FLEX_END, ///< Items are positioned at the end of the container
SPACE_BETWEEN, ///< Items are positioned with equal space between the items
- SPACE_AROUND ///< Items are positioned with equal space before, between, and after the items
+ SPACE_AROUND, ///< Items are positioned with equal space before, and after the items
+ SPACE_EVENLY ///< Items are positioned with equal space before, between, and after the items
};
/**
{ "center", Toolkit::FlexContainer::JUSTIFY_CENTER },
{ "flexEnd", Toolkit::FlexContainer::JUSTIFY_FLEX_END },
{ "spaceBetween", Toolkit::FlexContainer::JUSTIFY_SPACE_BETWEEN },
- { "spaceAround", Toolkit::FlexContainer::JUSTIFY_SPACE_AROUND }
+ { "spaceAround", Toolkit::FlexContainer::JUSTIFY_SPACE_AROUND },
+ { "spaceEvenly", Toolkit::FlexContainer::JUSTIFY_SPACE_EVENLY }
};
const unsigned int JUSTIFY_CONTENT_STRING_TABLE_COUNT = sizeof( JUSTIFY_CONTENT_STRING_TABLE ) / sizeof( JUSTIFY_CONTENT_STRING_TABLE[0] );
JUSTIFY_CENTER, ///< Items are positioned at the center of the container @SINCE_1_1.35
JUSTIFY_FLEX_END, ///< Items are positioned at the end of the container @SINCE_1_1.35
JUSTIFY_SPACE_BETWEEN, ///< Items are positioned with equal space between the lines @SINCE_1_1.35
- JUSTIFY_SPACE_AROUND ///< Items are positioned with equal space before, between, and after the lines @SINCE_1_1.35
+ JUSTIFY_SPACE_AROUND, ///< Items are positioned with equal space before, and after the lines @SINCE_1_1.35
+ JUSTIFY_SPACE_EVENLY ///< Items are positioned with equal space before, between, and after the lines @SINCE_1_9.37
};
/**
| JUSTIFY_CENTER | Items are positioned at the center of the container |
| JUSTIFY_FLEX_END | Items are positioned at the end of the container |
| JUSTIFY_SPACE_BETWEEN | Items are positioned with equal space between the lines |
-| JUSTIFY_SPACE_AROUND | Items are positioned with equal space before, between, and after the lines |
+| JUSTIFY_SPACE_AROUND | Items are positioned with equal space before, and after the lines |
+| JUSTIFY_SPACE_EVENLY | Items are positioned with equal space before, between, and after the lines |
### Usage