43 Commits

Author SHA1 Message Date
eb4ac8d109 Fix all tslint errors 2017-01-06 12:00:06 +02:00
bfab188ba0 clear nativeView field. (#3418)
moved some native setters from TabView to TabViewItem.
shorthand properties converters now accounts for unsetValue.
better formatting for test duration.
2017-01-05 18:08:42 +02:00
43f5f117a7 Fix minor tslint errors 2017-01-04 17:37:56 +02:00
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
9bf411b7f6 Update _updateNativeLayoutParams and fix minWidth/Height for ios flexbox 2017-01-04 16:51:06 +02:00
4ae6473e48 fix flexbox tests 2017-01-04 11:55:05 +02:00
d8db6a2484 Fix flexbox-layout properties 2017-01-04 11:55:05 +02:00
cce0a2d42f Fix all property types 2017-01-04 10:21:03 +02:00
b73d038f48 Let dock, wrap, absolute and grid tests run 2016-12-30 14:05:17 +02:00
becf428e90 Fix most of the label tests 2016-12-28 17:33:38 +02:00
c66e3e8ab5 Fix tslint errors 2016-12-27 13:20:59 +02:00
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
0ec9950d46 Padding 2016-12-22 14:45:41 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
4cd3eed1cd Trying to fix padding... 2016-12-21 14:30:34 +02:00
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
9236517fcb GridUnitType enum + fixes 2016-12-20 11:21: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
8ac7c8d574 HorizontalAlignment and VerticalAlignment 2016-12-19 16:25:08 +02:00
745388c3da Hhristov/modules30 fixes (#3316)
* Fixed properties, text-base, action-bar, bindings, view

* Rebase onto master
2016-12-19 10:21:43 +02:00
51e448aa10 Fixed: getViewById, TextDecoration 2016-12-15 13:20:25 +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
440f924131 only flex-box left 2016-12-13 15:51:18 +02:00
12ffd9c1e8 absolute-layout 2016-12-13 15:51:18 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
645f428f59 alpha1 2016-12-13 15:51:18 +02:00
b58e0b08a3 refactoring 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
75cab33f8f Percent support of margin of layouts/frame/page/contentview 2016-10-20 11:29:21 +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
b5ab387ebd Fix the LayoutParams 2016-09-30 17:36:17 +03:00
943e67a4c8 Add flexbox, we have to figure out layout params 2016-09-30 12:20:07 +03:00
a05f842a84 Non-uniform borders 2016-09-17 09:27:36 +03:00
1236f66f44 Add npm script that generates ios .d.ts-es from the tests app
Less than 30 erros left, let's hope it still works

Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills

Roll back some changes involved in separating UIEvent for dom and ios

Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
2016-08-29 09:58:17 +03:00
7e5c29a163 Fix package.json "main" settings and remove .js references. 2016-08-04 16:24:29 +03:00
bc1224e351 android LayoutParams are not overridden (#2383)
* LayoutParams are no longer overriden with CommonLayoutParams

* Small code refactoring to get intellisense
2016-06-29 17:13:37 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00