Expose getters and setters for some new properties

The properties include overflow and min/max height/width.
This commit is contained in:
Adam Comella
2016-06-01 12:48:51 -07:00
parent 9d62cee68b
commit 9260363fef
3 changed files with 76 additions and 0 deletions

View File

@@ -317,6 +317,12 @@ namespace Facebook.CSSLayout
get { return style.flex; }
set { updateFloatValue(ref style.flex, value); }
}
public CSSOverflow Overflow
{
get { return style.overflow; }
set { updateDiscreteValue(ref style.overflow, value); }
}
public void SetMargin(CSSSpacingType spacingType, float margin)
{