14 Commits

Author SHA1 Message Date
9bf411b7f6 Update _updateNativeLayoutParams and fix minWidth/Height for ios flexbox 2017-01-04 16:51:06 +02:00
d8db6a2484 Fix flexbox-layout properties 2017-01-04 11:55:05 +02:00
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
c71b4d4bf1 Hhristov/modules30 fixes (#3321)
* Fixed bindings, several css properties, attached properties

* Fix valueChanged handlers
Fix double registration of width/height property handlers

* fix broken merge
2016-12-19 17:52:18 +02:00
e97fd105e3 Fix missing exports 2016-12-14 13:59:50 +02:00
f75f583573 tns-core-modules done 2016-12-13 15:51:18 +02:00
56cd220c17 FlexboxLayout profiling and improvements (#3173)
* It looks like inline styles are making the flexbox example slow

* FlexboxLayout createReorderIndices proper overload

* Remove the getLayoutParams

* Removed unnecessary reorder methods

* Fix tslint errors
2016-11-30 11:30:02 +02:00
2bf7b07bf6 Add validation/parsing for the FlexboxLayout properties
Make FlexboxLayout work with CSS properties, shorhands are not yet supported

Make shorthand properties

Remove redundant logging
2016-11-10 11:16:24 +02:00
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
bac125efc1 Shrink will not damage the last item when it is shrink=0 2016-11-04 12:12:28 +02:00
f79ed04671 Fix flexbox crash for iOS 2016-11-04 11:30:21 +02:00
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
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