Releases: layoutBox/FlexLayout
Releases · layoutBox/FlexLayout
Add `Flex.direction` property
Round pixel values of intrinsicSize with YGRoundPixelValue
Added by Dongkyu Kim in Pull Request #210
Fixed crash with nan dimensions
Add `cornerRadius(_ value: CGFloat) function`
Change the access control of margin padding functions
Change the access control of margin padding functions
Added by OhKanghoon in Pull Request #199
Percent padding support
Percent padding support.
New methods:
paddingTop(_ percent: FPercent)**paddingLeft(_ percent: FPercent)**paddingBottom(_ percent: FPercent)**paddingRight(_ percent: FPercent)**paddingStart(_ percent: FPercent)**paddingEnd(_ percent: FPercent)**paddingHorizontal(_ percent: FPercent)**paddingVertical(_ percent: FPercent)**
Added by albertocs-noma in Pull Request #159
Update project
- Update to Xcode 12.5
- Update to Swift 5
- Update gems
- Update cocoapods
Add baseline item support
Add baseline item support.
Note that for now baseline support is only for the first baseline.
Added by Michael Ong in Pull Request #159
Adds Swift Package Manager Support
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().