Add new methods to position items in absolute positionning
Add new methods to position items in absolute positionning (https://github.com/layoutBox/FlexLayout#4-absolute-positioning):
vertically(: CGFloat)
/vertically(: FPercent)
:
Controls the distance child’s top and bottom edges from the parent’s edges. Equal totop().bottom()
.horizontally(: CGFloat)
/horizontally(: FPercent)
:
Controls the distance child’s left and right edges from the parent’s edges. Equal toleft().right()
.all(: CGFloat)
/all(: FPercent)
:
Controls the distance child’s edges from the parent’s edges. Equal totop().bottom().left().right()
.