Add YGLayoutGetMargin #335
Reference in New Issue
Block a user
No description provided.
Delete Branch "get-margin"
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?
Fix #326. I'll open another PR once this one gets accepted to add support for
YGLayoutGetBorder
👌Could you add the c# and java bindings for this as well? Should be fairly straight forward as it will look exactly like the padding ones.
Eh eh, I was working on them, they've just been pushed :) I haven't been able to test them yet, will Travis run the tests for those interfaces as well ?
Yup it will :) thanks!
Seems good, tests are now passing
@emilsjolander I started looking at how I can implement
YGNodeLayoutGetBorder
, and actually there will be a bit more work than I thought, since such a function would need to go through the sameEDGE_START
/EDGE_END
check than its two siblings. Would you mind if I implemented it in this PR, since the code will be quite similar?@arcanis I would rather it was a PR based on top of this one. Trying to move to smaller pull requests where possible as it makes it much easier to grok the code. Thanks 👍
Ok 👍
Please add tests to
YogaNodeTest.cs
andYogaNodeTest.java
. These will be similar to the tests already there for layoutPadding.Don't add an Obsolete property :p all these will be removed soon enough.
@arcanis Looks good now, thanks!
@emilsjolander has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Pull request closed