Skip to content

Releases: layoutBox/FlexLayout

Round pixel values of intrinsicSize with YGRoundPixelValue

20 Jan 13:41
456523e

Choose a tag to compare

Fixed crash with nan dimensions

20 Jan 13:25

Choose a tag to compare

Added by iohin in Pull Request #211

Add `cornerRadius(_ value: CGFloat) function`

23 Dec 21:41

Choose a tag to compare

Change the access control of margin padding functions

08 Apr 15:51

Choose a tag to compare

Change the access control of margin padding functions

Added by OhKanghoon in Pull Request #199

Percent padding support

22 Nov 18:25

Choose a tag to compare

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

21 May 00:19

Choose a tag to compare

  • Update to Xcode 12.5
  • Update to Swift 5
  • Update gems
  • Update cocoapods

Add baseline item support

29 May 17:44

Choose a tag to compare

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

01 May 14:11
397dbe6

Choose a tag to compare

Adds Swift Package Manager Support

Added by gcox in Pull Request #150

Add new methods to position items in absolute positionning

09 Oct 12:43

Choose a tag to compare

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 to top().bottom().
  • horizontally(: CGFloat) / horizontally(: FPercent):
    Controls the distance child’s left and right edges from the parent’s edges. Equal to left().right().
  • all(: CGFloat) / all(: FPercent):
    Controls the distance child’s edges from the parent’s edges. Equal to top().bottom().left().right().

Added by Kuluum in Pull Request #146

Delegate isIncludedInLayout to yoga vs using default value

03 Aug 22:02

Choose a tag to compare

1.3.16

Released on 2019-08-03

  • Delegate isIncludedInLayout to yoga vs using default value:
    Previously the value of isIncludedInLayout 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.