[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

@@ -33,8 +33,8 @@ static NSString *kLinkAttributeName = @"PlaceKittenNodeLinkAttributeName";
return nil;
_textNode = [[ASTextNode alloc] init];
_textNode.style.flexGrow = YES;
_textNode.style.flexShrink = YES;
_textNode.style.flexGrow = 1.0;
_textNode.style.flexShrink = 1.0;
_textNode.maximumNumberOfLines = 3;
[self addSubnode:_textNode];