34 Commits

Author SHA1 Message Date
7a1f1b2b80 Merge pull request #3891 from NativeScript/tab-view-text-transform
Initial value for text transform
2017-03-31 09:57:56 +03:00
be85af4a0d Text transform - no default value 2017-03-30 18:35:55 +03:00
29e07dd027 Hhristov/fix tab view selected index (#3893)
* fix button ios color property when textDecoration is applied

* Button ios color set on titleLabel

* Coerce tabView selectedIndex after native items are set
2017-03-29 16:39:54 +03:00
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
2b28730011 Split get/set native to getDefault setNative 2017-03-22 16:37:52 +02:00
fe54ac6ead Layout round instead of ceiling (#3833)
* Layout round instead of cailing
Add helper method to layout module to convert to/from dips to px and measure the native view
whiteSpace affects layout added for iOS
Fix bug in switch onMeasure implementation
Fix bug in cssValueToDevicePixels iOS implementation
ActionBar for iOS is measured with AT_MOST modifier

* Fix switch measure routine
2017-03-20 16:11:16 +02:00
6cae3cfbbd iOS TabBarItems got set UIViewControler on their naitveView, now they have dedicated _iosViewController 2017-03-14 09:37:06 +02:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
9f1ebc11ca Add support for 'px' on Length in iOS 2017-03-08 09:01:17 +02:00
ea22eb9c20 refactoring circular imports 2017-03-06 14:05:55 +02:00
e7017a9bc5 Tab view fixes 2017-02-17 15:03:12 +02:00
fec5e92dbe Fix tracing 2017-01-16 13:29:46 +02:00
b4575e1d5b Fixed xml-declaration tests. 2017-01-11 14:36:08 +02:00
11f8da025b Android TabView should use tabTextColorProperty instead of colorProperty just like in iOS 2017-01-03 12:53:21 +02:00
52a84b211f Fixed: Setting setTypeface() to null object
Resolves #3147
2017-01-03 12:33:36 +02:00
764910be2b Fixed tab-view tests. 2016-12-30 10:55:42 +02:00
70cc1dd5d9 Move the effective* values from style to this 2016-12-27 10:57:10 +02:00
7931ecd4f8 Fix tslint errors 2016-12-21 17:42:31 +02:00
f5905f072d fix tab-view, segmented-bar, action-bar, all ViewBases (#3340) 2016-12-21 12:02:02 +02:00
3cfab990c4 Comment out TabView which does not compile 2016-12-20 14:23:37 +02:00
d9ab6b960a working on tab-view 2016-12-20 14:08:13 +02:00
19ee47ba24 got to layouts 2016-12-13 15:51:18 +02:00
07e2102c5d restore properties deleted with merge 2016-12-13 15:51:18 +02:00
1202cb7288 almost all without layouts 2016-12-13 15:51:18 +02:00
da4cad6ec2 tab-view done 2016-12-13 15:51:18 +02:00
943d2dcd6b tabview-ios 2016-12-13 15:51:18 +02:00
93cc666b8f Add TabView.iosIconRenderingMode property
Resolves #2689
2016-11-04 16:18:55 +02:00
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
e895f37f0b Apply getter check to determine if API is exposed as property or as method for iOS backward compatibility 2016-09-12 14:38:54 +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
91ba3fa69a Update iOS TabView to use Automatic rendering mode
Change the UIImageRenderingMode for tab icons from "AlwaysOriginal" to "Automatic." This will allow icon images to inherit the `selectedColor` specified for the tabview (eliminating the need to provide two versions of every tab icon).
2016-07-08 21:32:15 -05:00
72714d738c Fix tslint errors and add a couple of traces 2016-06-28 10:47:42 +03:00
b0aee9d7a9 Fix: The navigation bar duplicates when going to TabView's "More" tab
Resolves #2121
2016-06-27 16:23:54 +03:00
e135c20b14 Rename the files 2016-05-26 14:30:25 +03:00