Add Flex to views::BoxLayout.
This CL adds a per-view flex property to BoxLayout. The flex property functions similarly to the CSS flexbox concept of flex, using the child view's preferred size as the flex basis and then adding or removing space within each flexed so that all views fit within the parent. This CL also removes MAIN_AXIS_ALIGNMENT_FILL as it is superceded by SetDefaultFlex(). BUG=386475 Review URL: https://codereview.chromium.org/360213002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285514 0039d316-1c4b-4281-b951-d872f2087c98
Showing
This diff is collapsed.
Please register or sign in to comment