Merge pull request #1767 from facebook/AHPercentToFraction

[ASRelativeDimensionType] Replace "percent" with "fraction" Where Appropriate
This commit is contained in:
Hannah Troisi
2016-08-11 20:33:34 -07:00
committed by Hannah Trosi
parent 27585ff123
commit de99951b4f
14 changed files with 30 additions and 30 deletions

View File

@@ -425,8 +425,8 @@ typedef ASLayoutSpec *(^OverviewDisplayNodeSizeThatFitsBlock)(ASSizeRange constr
verticalStackLayoutSpec.spacing = 5.0; // Spacing between children
// Layout the stack layout with 100% width and 100% height of the parent node
ASRelativeSizeRange sizeRange = ASRelativeSizeRangeMakeWithExactRelativeDimensions(ASRelativeDimensionMakeWithPercent(1),
ASRelativeDimensionMakeWithPercent(1));
ASRelativeSizeRange sizeRange = ASRelativeSizeRangeMakeWithExactRelativeDimensions(ASRelativeDimensionMakeWithFraction(1),
ASRelativeDimensionMakeWithFraction(1));
verticalStackLayoutSpec.sizeRange = sizeRange;
// Wrap the static stack layout in a static spec so it will grow to the whole parent node size