[Layout] Add support for flex factor (#2298)

* Add support for flex factor

* Add snapshot tests

* Respect child specified size from ASLayoutable

* Add new snapshot test images

* Fix rebase conflict
This commit is contained in:
Michael Schneider
2016-09-27 15:39:50 -07:00
committed by Adlai Holler
parent f421787cd3
commit e85583523f
44 changed files with 440 additions and 147 deletions

View File

@@ -78,7 +78,7 @@
// of the button node to add a touch handler.
[_titleNode setLayerBacked:YES];
#endif
_titleNode.style.flexShrink = YES;
_titleNode.style.flexShrink = 1;
}
return _titleNode;
}