50 Commits

Author SHA1 Message Date
bda6159bbb Re-apply TextBase.formattedText after a style property change
Resolves #1078
2016-02-25 11:01:44 +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
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
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +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
e95820b04a Add Template factory function and use it in the Repeater and ListView components 2015-11-23 12:11:13 +02:00
ea24a244c9 Fixed several tslint problems. 2015-11-05 16:03:05 +02:00
dec5d971f3 Patch for IQKeyboardManager issue. 2015-11-05 15:29:35 +02:00
70041bd999 Don't expose platform types in public d.ts files.
Use any. Add a comment with the real type.
2015-10-30 17:17:29 +02:00
2f7cf84839 Fixed issue 597. 2015-10-20 15:42:18 +03:00
68bc24a5a5 Action bar title color stylers 2015-10-13 16:10:03 +03:00
d39913b6e6 className property added cssClass deprecated 2015-09-18 13:31:08 +03:00
81c066e5e3 Support for binding expressions in event bindings 2015-09-12 11:02:32 +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
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
b64d647033 Merge pull request #434 from NativeScript/nnikolov/ListViewBindingContextIssue
BindingContext set two times on adding item to ListView. Fixed issue #410.
2015-07-16 09:42:05 +03:00
dedf0615b9 Fix tslint error. 2015-07-14 18:17:58 +03:00
56f42c654b Move _applyXmlAttribute outside @private block.
Fixes a broken interface implementation error in the public d.ts.
2015-07-14 14:49:47 +03:00
b45718b1ef BindingContext set two times on adding item to ListView. Fixes issue #410. 2015-07-14 14:47:40 +03:00
f3979136a4 Frobit setting inline style from code 2015-07-07 15:02:32 +03:00
9b934432aa border props added to view 2015-06-18 10:24:25 +03:00
e0e4c6d7c7 backgroundImage exposed to View 2015-06-10 15:19:21 +03:00
ae6fc36ec1 gestureObservers exposed to public via getGestureObservers method. 2015-06-02 15:25:01 +03:00
f838f11844 Refactored gestures to support more scenarios in android. 2015-05-29 13:45:27 +03:00
8d8fe1700b Context support for gesture handler binding 2015-05-13 16:05:45 +03:00
2e4b2eacf2 Fixed issue when bindingContext is bound more than once. 2015-05-08 09:53:59 +03:00
95ca8d9c8c Replace knownEvents modules with static strings. 2015-04-24 09:29:00 +03:00
69dc92026c Moved text-align and font-size to TextBase and fixed a WebView test. 2015-04-03 16:41:19 +03:00
6ad062bbdf _addArrayFromBuilder and _context exposed in definitions 2015-03-30 11:56:58 +03:00
6700b98ce0 method definitions enabled for override (removed from @private) 2015-03-26 11:50:05 +02:00
25d54e0ed7 Fixed several compile issues. 2015-03-23 09:57:46 +02:00
d1f97d7050 Added support for binding to all Style properties directly. 2015-03-23 09:21:39 +02:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00
2c4781db01 Initial prototype of Frame + Page + Navigation. 2014-06-12 17:44:23 +03:00
3e033da3ff Implemented simple label for iOS 2014-06-06 14:12:51 +03:00
14dd0b799a view property added and implemented for android 2014-06-06 11:29:24 +03:00
1be0f92429 Initial implementation of Observable + Bindable + Label 2014-06-05 13:53:09 +03:00