Commit Graph

26 Commits

Author SHA1 Message Date
Hristo Hristov
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
Hristo Hristov
33aa48bdfd Add support for snapshot
Fix Layout class getMeasuredWidth & getMeasuredHeight
Move some classes to widgets
Fix API17 tests
2017-03-06 14:05:55 +02:00
vakrilov
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
Hristo Hristov
f539dd5f95 Improve background setter in iOS (#3582)
CoercableProperty now inherits from Property
VS Code typescript sdk removed
ViewBase will no longer clear native view if recycleNativeView is false
2017-02-06 11:49:54 +02:00
Hristo Hristov
e34b0f622c fix span (#3510)
* Remove Bindable.
Fix Observable & ObservableArray tests
Fix formattedString text
Change implementation of Span, FormattedString & TextBase
properties valueChange called before native setter

* revetred formattedString tests asserts - formattedText update text property again
properties - when getting value we now use always property name instead of key (using key could return undefined for property that is set to its default value)
updated fontSize & fontInternal properties on all controls
fix font properties so that fontInternal is reset if the new font is the same as Font.default

* fix tslint errors
2017-01-20 16:42:20 +02:00
Rossen Hristov
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
Nedyalko Nikolov
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +02:00
Hristo Hristov
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
vakrilov
c30be0d606 View lifecycle methods 2017-01-04 17:18:45 +02:00
Rossen Hristov
9d6f6cca79 Fix font on Android 2017-01-04 14:13:33 +02:00
Rossen Hristov
11f8da025b Android TabView should use tabTextColorProperty instead of colorProperty just like in iOS 2017-01-03 12:53:21 +02:00
Rossen Hristov
52a84b211f Fixed: Setting setTypeface() to null object
Resolves #3147
2017-01-03 12:33:36 +02:00
Nedyalko Nikolov
764910be2b Fixed tab-view tests. 2016-12-30 10:55:42 +02:00
PanayotCankov
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
Hristo Hristov
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
Rossen Hristov
3cfab990c4 Comment out TabView which does not compile 2016-12-20 14:23:37 +02:00
Hristo Hristov
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
Hristo Hristov
da4cad6ec2 tab-view done 2016-12-13 15:51:18 +02:00
Hristo Hristov
943d2dcd6b tabview-ios 2016-12-13 15:51:18 +02:00
Hristo Hristov
079830e9b5 tab-view 2016-12-13 15:51:18 +02:00
Rossen Hristov
e59d145705 Add TabView.androidOffscreenTabLimit property
Resolves #2815

* Gets or sets the number of tabs that should be retained to either side of the current tab in the view hierarchy in an idle state.
* Tabs beyond this limit will be recreated from the TabView when needed.
2016-11-08 17:17:30 +02:00
Rossen Hristov
9fc143ee03 Add support for TabView CSS
TabView {
    tab-text-color: green;
    tab-background-color: yellow;
    selected-tab-text-color: red;
    android-selected-tab-highlight-color: orange;
    text-transform: uppercase;
}
2016-10-24 15:07:22 +03:00
Hristo Hristov
644f4c2845 ImageSource was reset in CreateUI wrongly. (#2910)
TabView doesn't save/restore its visual hierarchy.
Cuteness.io source changed to use https.
2016-10-17 13:40:03 +03:00
Hristo Hristov
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
Panayot Cankov
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00