Commit Graph

5083 Commits

Author SHA1 Message Date
MartoYankov
b8c4ea639f fix broken transforms because of wrong view bounds 2018-09-27 17:07:13 +03:00
Vasil Chimev
d025c0eeb3 fix(flexbox): justify content calculations 2018-09-27 16:15:03 +03:00
Vasil Chimev
f3ea75f291 tests: rename list view tests 2018-09-26 18:52:28 +03:00
Vasil Chimev
16304c3a46 Merge branch 'ios-safe-area' of github.com:NativeScript/NativeScript into ios-safe-area 2018-09-26 18:46:27 +03:00
Vasil Chimev
677f28054c tests: add list view tests 2018-09-26 18:46:09 +03:00
Martin Yankov
d5d671ba53 Merge branch 'master' into ios-safe-area 2018-09-26 18:39:42 +03:00
Martin Yankov
f01403a419 fix nested viewcontrollers top insets 2018-09-26 18:38:52 +03:00
Vasil Chimev
d4483f9ca8 refactor(ui-tests-app): add iosOverflowSafeArea property to pages 2018-09-26 17:39:57 +03:00
Vasil Chimev
5df6921635 fix: move _getCurrentLayoutBounds from CustomLayoutView to View as extended by ListViewBase 2018-09-26 17:39:52 +03:00
Martin Guillon
46705ee332 refactor(core-modules): implement createNativeView and initNativeView for all components
refactor(core-modules): implement createNativeView and initNativeView for all components
2018-09-26 13:59:12 +03:00
Martin Yankov
815369b708 fix scrollview as root of tabview 2018-09-25 15:47:05 +03:00
Vasil Chimev
5876aaa914 fix: tslint 2018-09-25 11:43:41 +03:00
Vasil Chimev
badc6bfb2f add list view tests 2018-09-24 17:16:03 +03:00
Vasil Chimev
e6ea1c22a6 Merge branch 'ios-safe-area' of github.com:NativeScript/NativeScript into ios-safe-area 2018-09-21 16:43:13 +03:00
Vasil Chimev
9ef9ee1f3f test: add scroll view tests 2018-09-21 16:25:56 +03:00
Martin Yankov
a6a97ab3f7 fix safe area calculations with flat action bar 2018-09-20 18:34:47 +03:00
Martin Yankov
c3b864c26e minor fix for page options helper 2018-09-20 18:34:47 +03:00
Martin Yankov
0ebeffd704 add test for page overlay controls 2018-09-20 18:34:46 +03:00
Martin Yankov
b741a676d5 change buildUI function to accept options param 2018-09-20 18:34:46 +03:00
Vasil Chimev
1b66f99cc2 test(safe-area): add flexbox layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
9c3ed73646 test: refactoring and formatting 2018-09-20 18:34:46 +03:00
Vasil Chimev
96b5cb23a8 test(safe-area): add wrap layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
b914e9a64f test(safe-area): add absolute layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
84761255dd test(safe-area): add stack layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
d5ed96cbbb test(safe-area): add dock layout tests 2018-09-20 18:34:46 +03:00
Martin Yankov
88f61e0091 move safe area tests to a new category 2018-09-20 18:34:46 +03:00
Martin Yankov
6baa0727fc wip grid layout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
e6e55ded1e test: grid layout safe area 2018-09-20 18:34:46 +03:00
Vasil Chimev
8cd1a9cae7 test: extract layout-tests-helper 2018-09-20 18:34:46 +03:00
Vasil Chimev
86d05cf302 test: refactor flexbox layout tests 2018-09-20 18:34:46 +03:00
Martin Yankov
d6bffe22ec Add WIP Gridlayout tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
3add72031e tests: add iosOverflowSafeArea=false to Flexbox 2018-09-20 18:34:46 +03:00
Vasil Chimev
0df3c191aa tests: comment out page scroll content tests 2018-09-20 18:34:46 +03:00
Vasil Chimev
806d82288b refactor: rename iosExpandSafeArea to iosOverflowSafeArea
Update type definitions.
2018-09-20 18:34:46 +03:00
Vasil Chimev
f40d6c1a97 refactor: delete isContentScrollable function
BREAKING CHANGES:

The `scrollableContent` property is no more - use `iosExpandSafeArea` instead.
2018-09-20 18:33:59 +03:00
Martin Yankov
351d78e80c fix tabview safe areas 2018-09-20 18:33:59 +03:00
Vasil Chimev
f82b649217 tests: throw modalCloseCallback with timeout
This is to avoid failures in tests execution where `modalCloseCallback` throws.
Delete unused imports and a const.
2018-09-20 18:33:59 +03:00
Martin Yankov
2d39a47dd8 fix scrollview 2018-09-20 18:33:59 +03:00
Vasil Chimev
abe3292c35 chore(tests): update runtimes to 4.2 2018-09-20 18:33:59 +03:00
Vasil Chimev
3acf65a0a9 test: delete PAGE.test_percent_margin_support
This case has been handled per layout.
2018-09-20 18:33:59 +03:00
Vasil Chimev
ea4ace61da refactor: add locationInWindow usage 2018-09-20 18:33:59 +03:00
Martin Yankov
9d9e4d350d add safe area support to flexbox 2018-09-20 18:33:59 +03:00
Martin Yankov
52b1822df5 change colors to more contrasting ones 2018-09-20 18:33:59 +03:00
Martin Yankov
d8c9c19716 remove rounding when conversing to native pixels 2018-09-20 18:33:59 +03:00
Vasil Chimev
c163544aab chore: fix a tslint error 2018-09-20 18:33:59 +03:00
Vasil Chimev
f2d9b05e01 refactor: View.applySafeAreaInsets(frame)
Split to `ios.shrinkToSafeArea()` and `ios.expandBeyondSafeArea()`.
Update trace logs.
2018-09-20 18:33:59 +03:00
Vasil Chimev
bf070f105d refactor: update safe area traces 2018-09-20 18:33:59 +03:00
Vasil Chimev
a610c6f0c3 chore: add tsconfig.tns.json to .gitignore 2018-09-20 18:33:59 +03:00
Martin Yankov
f805bc90ad make webview to inherit from ContainerView 2018-09-20 18:33:59 +03:00
Martin Yankov
6e0ee3f344 remove locationOnScreen usage 2018-09-20 18:33:59 +03:00