DescriptionAdd 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285514
Patch Set 1 : #
Total comments: 10
Patch Set 2 : address comments #
Total comments: 8
Patch Set 3 : address comments #
Total comments: 7
Patch Set 4 : address comments #
Total comments: 4
Patch Set 5 : reworked algorithm #Patch Set 6 : rebase #
Total comments: 2
Patch Set 7 : address comment #
Total comments: 8
Patch Set 8 : address sky's comments #Patch Set 9 : lock BoxLayout to a single host #Patch Set 10 : rebase #Messages
Total messages: 26 (0 generated)
|