[Examples] Layout 2.0 updates (#2382)

[Examples] Layout 2.0 updates: Switch YES to 1.0 for flexGrow and flexShrink
This commit is contained in:
Hannah Troisi
2016-10-15 17:30:48 -07:00
committed by appleguy
parent 42d1c9a55b
commit 3c995d8d12
16 changed files with 38 additions and 38 deletions

View File

@@ -168,7 +168,7 @@ static const CGFloat kInnerPadding = 10.0f;
CGSize videoNodeSize = _isImageEnlarged ? CGSizeMake(2.0 * kImageSize, 2.0 * kImageSize)
: CGSizeMake(kImageSize, kImageSize);
_videoNode.size = ASRelativeSizeRangeMakeWithExactCGSize(videoNodeSize);
_textNode.flexShrink = YES;
_textNode.flexShrink = 1.0;
ASStackLayoutSpec *stackSpec = [[ASStackLayoutSpec alloc] init];
stackSpec.direction = ASStackLayoutDirectionHorizontal;