Add Overflow API.
Summary: We need this for scrollviews, bring on the overflow! Reviewed By: emilsjolander Differential Revision: D4376759 fbshipit-source-id: a427432da5e8679dbf9fdbfe4250707e727368f4
This commit is contained in:
committed by
Facebook Github Bot
parent
a85bd4ad2a
commit
663a93912b
@@ -130,6 +130,11 @@
|
||||
YGNodeStyleSetFlexWrap([self ygNode], flexWrap);
|
||||
}
|
||||
|
||||
- (void)yg_setOverflow:(YGOverflow)overflow
|
||||
{
|
||||
YGNodeStyleSetOverflow([self ygNode], overflow);
|
||||
}
|
||||
|
||||
- (void)yg_setFlexGrow:(CGFloat)flexGrow
|
||||
{
|
||||
YGNodeStyleSetFlexGrow([self ygNode], flexGrow);
|
||||
|
Reference in New Issue
Block a user