Commit Graph

7 Commits

Author SHA1 Message Date
Panayot Cankov
45578430ac Merge pull request #3020 from NativeScript/flexbox-last-noshrink-fix
Shrink will not damage the last item when it is shrink=0
2016-11-07 13:14:24 +02:00
PanayotCankov
bac125efc1 Shrink will not damage the last item when it is shrink=0 2016-11-04 12:12:28 +02:00
PanayotCankov
f79ed04671 Fix flexbox crash for iOS 2016-11-04 11:30:21 +02:00
Panayot Cankov
ae02bbdff3 Fix order set at runtime, polish unit test app example.
Add alignSelf nad flexWrapBefore in the flexbox examples

Some test fail with quite close calculations. Use eps.

Fix flex grow making last items with flexGrow 0 to shrink due to rounding, happy tslint
2016-10-24 14:34:26 +03:00
Panayot Cankov
791aab04e5 Flexbox ios initial commit
Items now appear, but they should initially shrink and they don't

Add 15-ish tests for flexbox layout

Port reasonable flexbox test set

Fixing issues, adding unit tests

Moved from .tsx to .ts and used our ui/builder.parse
2016-10-19 17:02:26 +03:00
Panayot Cankov
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
Panayot Cankov
943e67a4c8 Add flexbox, we have to figure out layout params 2016-09-30 12:20:07 +03:00