Commit Graph

54 Commits

Author SHA1 Message Date
Hristo Hristov
e709485bb6 Added an option to change the rootView.
Fixed crash where activity was incorrectly using existing initialized frame.
Fixed TabView to use _nativeView instead of Frame.
2016-02-05 15:09:28 +02:00
Hristo Hristov
1e0f130b38 Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
Revisit lazy require routine
2016-02-01 16:54:31 +02:00
Vladimir Enchev
becc5c59f0 wrong for loop count fixed 2016-02-01 16:25:28 +02:00
atanasovg
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
Georgi Atanasov
62d85b0dc0 Merge pull request #1407 from NativeScript/atanasovg/snapshot-refactorings
Atanasovg/snapshot refactorings
2016-01-25 10:29:24 +02:00
Nedyalko Nikolov
f79600585a Adding view to parent only if not already added. 2016-01-22 09:01:22 +02:00
atanasovg
f930914fa8 Added typed information for lazily loaded android types. 2016-01-20 14:03:04 +02:00
atanasovg
fbc612610f Snapshot refactorings, which mainly wraps Android extends within inner functions so that they are evaluated at runtime, when needed. Also some refactoring preventing circular requires. 2016-01-20 10:22:08 +02:00
Nedyalko Nikolov
30d5ebae12 Added _removeTabs implementation in common. 2016-01-15 11:45:12 +02:00
Nedyalko Nikolov
af5dd04a9b Added parent view for views inside TabView. 2016-01-12 17:53:50 +02:00
Vladimir Enchev
d50e2fdb37 stylers removed 2015-12-22 16:12:18 +02:00
Vladimir Enchev
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
Vladimir Enchev
a2fb0c96be default font size fixed 2015-12-11 10:27:51 +02:00
Vladimir Enchev
3650a6f4fe font-family implemented 2015-12-10 13:52:13 +02:00
Hristo Deshev
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
Richard Lai
2b1be2da43 Name the originally-rendered image 2015-11-24 15:44:05 -05:00
Richard Lai
477d0016b1 Correct TabView icon rendering mode
Fixes #1148.
2015-11-24 15:35:37 -05:00
Vladimir Enchev
284366dc0b selectedIndex behavior when no tabs fixed 2015-11-09 10:35:22 +02:00
Hristo Deshev
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
vakrilov
d29fd66478 TintCololor should be synced with selectedColor 2015-10-30 11:46:55 +02:00
vakrilov
c41e15faf0 Set tab tint color also 2015-10-30 11:46:55 +02:00
vakrilov
815a4fc23c ActionBar and TabView colors 2015-10-30 11:46:54 +02:00
hshristov
f72d79e65a iOS owner pattern changed to use WeakRef in order to prevent memory leaks.
Optimized list-view-tests.
Added time per test.
2015-10-22 10:26:59 +03:00
vakrilov
b8222a88b4 Fixes 2015-10-15 16:04:19 +03:00
vakrilov
159803d8b9 TabView color and selctedColors 2015-10-15 14:55:31 +03:00
Vladimir Enchev
6a17651618 ios9 fixes 2015-10-06 15:41:37 +03:00
hshristov
0ecb5d4dcd Implement Page background option to span under status bar (iOS only for the moment) 2015-10-06 14:35:59 +03:00
Hristo Deshev
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
Nedyalko Nikolov
cfe19f1c17 Added some checks according to changed iOS9 API. 2015-09-17 14:55:03 +03:00
Rossen Hristov
309e123f12 Extracted view-related utility methods from "utils/utils" to "ui/utils" so that the "utils/utils" module does not depend on the view module. 2015-09-16 16:20:43 +03:00
vakrilov
b25698d045 Fix tests 2015-09-04 13:48:45 +03:00
vakrilov
d64b8660bd Ipdate single item in tab view 2015-09-04 13:48:45 +03:00
vakrilov
ff9ee707c0 Themes and styling 2015-09-04 13:48:45 +03:00
vakrilov
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
Rossen Hristov
72c464bbe8 TabViewItem.title and SegmentedBarItem.title are now empty string by default. 2015-09-04 10:19:24 +03:00
Rossen Hristov
9377a3c9bb Fixed a null reference exception. 2015-09-02 09:09:00 +03:00
Rossen Hristov
b848d2f02d Added TabViewItem change support for Android. Fixed empty titles for SegmentedBar and TabView. 2015-09-01 09:56:51 +03:00
Rossen Hristov
4caaa05a22 Fixed tslint error. 2015-08-28 13:34:24 +03:00
Rossen Hristov
881c378a4e Made TabViewItem bindable. 2015-08-28 12:55:28 +03:00
Hristo Deshev
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
atanasovg
1439313e7b Make moduleMerge a global function - this saves a total of 83 requires upon application loading. 2015-07-27 13:04:48 +03:00
vakrilov
a458993d63 Property renamed and bug fixes 2015-07-16 13:54:19 +03:00
Rossen Hristov
4d30170bbe Resolved issue #263 2015-07-01 14:16:21 +03:00
vakrilov
b23f7333d6 Fix: Content of tab view does not appear when application is minimized and shown again 2015-06-02 17:15:45 +03:00
Rossen Hristov
a4b2457708 Resolved #199: TabView.selectedIndexChanged event. 2015-05-21 13:48:34 +03:00
vakrilov
55882500c8 Fix tabs when pageCache is enabled 2015-05-14 16:45:56 +03:00
vakrilov
45450456a1 Loaded/Unloaded fix 2015-05-05 16:15:00 +03:00
Rossen Hristov
0d9831519c Fixed: TabViewItem does not get the right resource image #91 2015-04-29 09:21:43 +03:00
Nedyalko Nikolov
6bb533dc30 Fixed issue with binding when binding to a falsy object (also added types.isNullOrundefined function). 2015-04-20 14:25:01 +03:00
Rossen Hristov
18c9528bda Fixed Issue 261 2015-04-06 15:18:45 +03:00