Add layout margin functions to the csharp interface
This commit is contained in:
@@ -333,6 +333,12 @@ namespace Facebook.Yoga
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("use LayoutMargin properties")]
|
||||
public float GetLayoutMargin(YogaEdge edge)
|
||||
{
|
||||
return Native.YGNodeLayoutGetMargin(_ygNode, edge);
|
||||
}
|
||||
|
||||
[Obsolete("use LayoutPadding properties")]
|
||||
public float GetLayoutPadding(YogaEdge edge)
|
||||
{
|
||||
|
Reference in New Issue
Block a user