Skip to content

Releases: layoutBox/FlexLayout

Add `Flex.direction` property

25 Feb 23:26
ed5707f

Choose a tag to compare

Added by gyuchan in Pull Request #213

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