Releases: layoutBox/FlexLayout
Releases · layoutBox/FlexLayout
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()
.
Delegate isIncludedInLayout to yoga vs using default value
1.3.16
Released on 2019-08-03
- Delegate isIncludedInLayout to yoga vs using default value:
Previously the value ofisIncludedInLayout
may have not reflect what the underlying yoga value is as the developer may have manipulated the yoga value directly. This could potentially leave the Flex initial value out of sync. This change defers the get/set of this property to yoga.
Update to Swift 4.2 + Fix public extension warning
1.3.15
Released on 2019-06-07
- Fix public extension warning
- Added by Levi McCallum in Pull Request #131
- Update to Swift 4.2
- Update cocoapods to 1.7
Add method `basis(_ : FPercent)`
Add method basis(_ : FPercent)
. This method is similar to basis(_ : CGFloat?)
but takes a percentage parameter.
- Added by Andreas Mattsson in Pull Request #128
Update documentation
Changes:
- Update
shrink()
method documentation. - Update bundles.