Files
yoga/YogaKit
Emil Sjolander a1c75454e9 Fix align-content strech with multiple lines
Summary: This is an update of facebook/yoga#368 which was reverted. It fixes support for align-content: strech with multiple lines. The problem with the last attempt at solving this was that align-items:stretch was interfering. We handle this now by detecting when the flex basis of the children hints at them overflowing. This is not 100% correct as the size of the items could change when remeasuring but it will work in 99% of cases.

Reviewed By: astreet

Differential Revision: D4551234

fbshipit-source-id: 2964f19cf415991dc55dfa2caa4868cb00c56bd0
2017-02-14 09:26:10 -08:00
..
2017-01-27 10:09:48 -08:00
2017-01-27 10:09:48 -08:00
2017-02-11 14:12:51 -08:00

YogaKit

CocoaPods Platform Languages

Installation

YogaKit is available to install via CocoaPods.

pod 'YogaKit', '~> 1.1'

Getting Started

Checkout the docs here.

We also have a sample project. To try it out, clone this repo and open YogaKitSample.xcodeproj in the YogaKitSample directory.

Contributing

We welcome all pull-requests! At Facebook we sync the open source version of YogaKit daily, so we're always testing the latest changes.

See the CONTRIBUTING file for how to help out.