No method for setBaselineFunc on iOS #961
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Report
Issues and Steps to Reproduce
On iOS, we use flexlayout by
YGLayout
. If I want to align items bybaseline
, I found it didn't work. After searching the code ofYoga
, I found that I should providebaselineFunc
.But there isn't any method for me to set
baselinefunc
, I can't get the node of view either.Expected Behavior
Providing a method to set
baselineFunc
.Link to Code
https://github.com/facebook/yoga/blob/master/YogaKit/Source/YGLayout.h
We are deprecating YogaKit as part of the Yoga 2.0 release. We are still going to release a new revision based on the current state of the repo, but won't be accepting new contributions, since we are going to be removing it from the repo after.