67 Commits

Author SHA1 Message Date
75a8f85923 Fixed pseudoselectors to work with Angular 2016-04-26 10:05:24 +03:00
c07fc07348 Fixed: Visual states not working properly when the animation is canceled in Android 2016-04-08 11:35:44 +03:00
2d05687e31 case statements fix 2016-03-22 11:45:01 +03:00
ccdc394be4 This adds the ability to Cancel the Animation via the Promise returned via a play command. 2016-03-21 22:52:55 -06:00
d80bc5fc81 Eliminate rounding errors 2016-03-21 13:05:17 +02:00
fe3d176dd6 Add public instance methods to View class for getting locations and sizes
Resolves #1760
2016-03-21 10:46:58 +02:00
522c9ee7ed Add source information in the xml builder, print source file as part for veiw.toString 2016-03-15 11:23:51 +02:00
66936ff0c4 Fixes #1691. 2016-03-03 18:03:27 +02:00
bda6159bbb Re-apply TextBase.formattedText after a style property change
Resolves #1078
2016-02-25 11:01:44 +02:00
b0976bf986 Resolved #811: Page Navigation Transitions 2016-02-03 13:24:12 +02:00
1e0f130b38 Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
Revisit lazy require routine
2016-02-01 16:54:31 +02:00
698345f171 Register ProxyViewContainer children with parent layout.
- Fixes a crash when used in a GridLayout on iOS since the layout needs to be
notified of any layout children changes.
- Adds a _parentChanged hook for all views.
2016-01-28 18:27:31 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
eac95156d1 Proxy view container 2016-01-25 11:30:36 +02:00
af78e79561 Added automation text and tests 2016-01-19 16:23:45 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
d61ab801e9 Fix native image recreated on layout even if the view is not resized 2015-12-03 16:55:54 +02:00
10ac928088 pivot renamed to origin 2015-11-25 10:57:50 +02:00
6500170699 Pivot point implementation 2015-11-25 10:57:50 +02:00
31c36688ba Fixed nested frame layout for iOS 2015-11-20 14:25:50 +02:00
bba7931e5b Fixed #1002: Inherited dependency properties with value false are not inherited down the visual tree. 2015-11-16 09:52:09 +02:00
ea24a244c9 Fixed several tslint problems. 2015-11-05 16:03:05 +02:00
e7c4209112 Resolved issues #789, #1021, #1031. 2015-11-03 16:20:36 +02:00
aef7256e69 Enabled bindings to events and gestures for Bindable instead of View. 2015-10-21 16:43:09 +03:00
44e4296d80 Merge pull request #931 from NativeScript/vertical-alignment-middle
vertical-alignment middle support added
2015-10-15 10:31:16 +03:00
19b03bbbb9 vertical-alignment middle support added 2015-10-14 09:42:29 +03:00
68bc24a5a5 Action bar title color stylers 2015-10-13 16:10:03 +03:00
171e545213 isLoaded is set before calling applyStyleFromScope 2015-10-07 11:13:29 +03:00
77838ae9c6 Change from "classic" TS 1.6 imports to the default resolution scheme.
- Use relative imports in place of most of our absolute ones.
- Add "private" ambient modules for modules that we need to import using
an absolute path (e.g. when app/.../test-something.ts needs to import
ui/styling/style-scope)
2015-09-29 16:25:49 +03:00
beef7f9372 Fixed: If an Animation instance is played more than once, the same promise is resolved each time leading to unexpected results. #774 2015-09-21 13:27:10 +03:00
36036c55b1 support of [on]event/gesture added + tests 2015-09-18 16:55:39 +03:00
d39913b6e6 className property added cssClass deprecated 2015-09-18 13:31:08 +03:00
744de9670e Class atribute registered and used instead cssClass 2015-09-18 09:47:55 +03:00
81c066e5e3 Support for binding expressions in event bindings 2015-09-12 11:02:32 +03:00
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
e18e7777a1 Added View.translateX, View.translateY, View.scaleX, View.scaleY, View.rotate properties. 2015-09-03 11:46:12 +03:00
bc4ebd569c Fixed multiple gestures for Android 2015-09-01 15:44:38 +03:00
17cdbbaf46 gestures now can be added with on() and removed with off() 2015-08-31 16:44:35 +03:00
0aec988251 setStyle renamed to setInlineStyle 2015-08-28 11:18:25 +03:00
035e381673 throw error if not string 2015-08-28 11:16:26 +03:00
3fb4b59b87 setStyle implementation + test 2015-08-28 10:46:35 +03:00
a526e6cec8 Making tslint happy. 2015-08-07 18:26:29 +03:00
c5608d7c5c Brought back the viewModule.getAncestor function.
Extended it, so you can pass actual type instances instead of strings.
2015-08-07 18:26:29 +03:00
141668bb05 Fix applying app CSS to template children when using custom pages.
No longer using getAncestor(view, "Page") to look for a pagey parent.
Replaced that with a View.page property. Removed getAncestor as its type
name-based implementation seems unreliable.
2015-08-07 18:26:21 +03:00
abc9faccfa Added Padding+Border support for Label, Button, TextField and TextView for both platforms. Only iOS TextView does not support them. 2015-08-06 14:58:53 +03:00
e58506563a Fix WrapLayout
Fix ScrollView
Fix Stylers.android
Remove some method from View class
Fix layout-helper test views
Fix all android failing tests
Remove onLayout on Button and TextBase
2015-08-03 13:49:11 +03:00
bd50fb5550 Fixed several unit-tests 2015-08-03 13:49:08 +03:00
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
b1e55f1066 Animations 1.0 2015-07-29 15:24:43 +03:00