Commit Graph

53 Commits

Author SHA1 Message Date
hshristov
e127c7ef27 Fix GridLayout desiredSize when not stretched.
Fix showModal Page size method for Android
Fix showModal Page actionBar is now hidden
2015-10-09 16:54:08 +03:00
hshristov
ff006fda2b Remove some commented code 2015-10-06 15:05:31 +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
Rossen Hristov
eec823d29d Added closeModal() to the d.ts and updated the sample app. 2015-10-01 11:13:52 +03:00
Nathanael Anderson
7366e546dc Renamed closeDialog to closeModal; as we do a showModal; for consistency.
Fixed page auto sizing full on Android.
2015-10-01 10:54:24 +03:00
Nathanael Anderson
5d3d772462 This fixes the issue with Dialogs and being dismissed by clicking elsewhere on the screen on Android. The dialog will now call the callback with a null value as the first parameter (and finish calling the unloaded and other code that is supposed to be ran when the dialog is closed). This also adds a closeDialog function that you can call from the dialog which will also call the callback for you. 2015-10-01 10:54:22 +03:00
hshristov
08ac9ea3ed Fix action-bar desired size 2015-09-30 10:02:02 +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
hshristov
03090b7842 Page background now spans on the whole height but content is still under NavBar 2015-09-29 09:48:15 +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
ff9ee707c0 Themes and styling 2015-09-04 13:48:45 +03:00
vakrilov
254e4a55a1 AppCompat toolbar 2015-09-04 13:48:43 +03:00
hshristov
8eda2ea2cf Fix iOS layout in modal pages. 2015-09-04 11:03:48 +03:00
Rossen Hristov
1bf136cb0a Added null check for closeCallback 2015-09-03 17:05:24 +03:00
atanasovg
45d12ce565 Intermediate commit, using the NavBar items push/pop/set. 2015-09-02 16:14:23 +03:00
hshristov
3a0cc32ff2 Fix for Button padding in android.
Fix for types - isString and isNumber.
Modified several tests to pass on VS Emulator for Android.
Fix page background to be applied in onLoaded method.
Enhancements for dependency-observable - it is now possible to add defaultValueGetter function to extract default value for a property. It can also be cached or not.
Remove android_constants because they are per theme and we cannot use them safely.
Fix for SearchBar reseColorProperty method.
2015-08-28 16:59:52 +03:00
Georgi Atanasov
0468857604 Merge pull request #554 from NativeScript/atanasovg/file-system-api
Atanasovg/file system api
2015-08-10 17:55:10 +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
bb95d61d85 Fix wrong parameter name. 2015-08-04 16:55:51 +03:00
atanasovg
c683ea44e6 Refactor the file-system-access API to be synchronous. Added *Sync equivalents of the file-system APIs. Removed usage of file-system-access within the code. 2015-08-04 16:53:12 +03:00
vakrilov
f0f0e91b70 Default page background - white 2015-07-31 11:04:19 +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
Hristo Deshev
c6d7717e35 Fix tslint errors 2015-07-16 09:44:41 +03:00
vakrilov
ff2e8e6625 tests 2015-07-15 09:35:53 +03:00
vakrilov
53c7bebfec Center View 2015-07-15 09:35:53 +03:00
vakrilov
53dc1c65bf data binding 2015-07-15 09:35:53 +03:00
vakrilov
e52b0c4556 Action bar progress 2015-07-15 09:35:53 +03:00
Rossen Hristov
2957554ac1 Resovled Issue #421: Modal pages do not render correctly in iOS. 2015-07-14 16:03:09 +03:00
Vladimir Enchev
d1ec70286d more fixes & tests added 2015-07-08 18:16:28 +03:00
Vladimir Enchev
378a78084a console.log removed 2015-07-08 15:47:41 +03:00
Vladimir Enchev
f478c619d8 support for custom components CSS added 2015-07-08 11:28:13 +03:00
Rossen Hristov
58f44ae310 Fixed issue #387: There is an empty space on top of a page displayed for the first time in iOS. 2015-07-03 13:22:44 +03:00
Rossen Hristov
053d57b1c6 Removed several console logs. 2015-07-01 14:21:56 +03:00
Rossen Hristov
4d30170bbe Resolved issue #263 2015-07-01 14:16:21 +03:00
Rossen Hristov
6cc5675d31 Resolved #294: Add an optional fullscreen parameter to Page.showModal method. 2015-06-11 11:04:08 +03:00
vakrilov
1ef880bc55 Descriptions fixed and navigation methods mad private 2015-05-19 13:37:38 +03:00
vakrilov
fe66104595 Page events 2015-05-19 13:37:38 +03:00
Rossen Hristov
b36abb8a15 tslint 2015-05-18 14:58:44 +03:00
Rossen Hristov
90722cfc67 Resolved #142: Modal views. 2015-05-18 14:13:46 +03:00
Nedyalko Nikolov
03ddb15d14 Fixed issue with remaining options menu item (iOS). 2015-05-13 11:27:56 +03:00
vakrilov
45450456a1 Loaded/Unloaded fix 2015-05-05 16:15:00 +03:00
Nedyalko Nikolov
95ca8d9c8c Replace knownEvents modules with static strings. 2015-04-24 09:29:00 +03:00
hshristov
20b65a6d0c Add base ui-test class
Update label-test to use the new ui-test class
2015-04-22 16:08:54 +03:00
vakrilov
35b429f90d Removed some code 2015-03-31 13:43:53 +03:00
vakrilov
70aa10d7ea MenuItems should inherit binding context when defined form XML 2015-03-31 12:36:04 +03:00
Vladimir Enchev
6ad062bbdf _addArrayFromBuilder and _context exposed in definitions 2015-03-30 11:56:58 +03:00
hshristov
411b9dfe5f fix TSLing 2015-03-26 17:32:28 +02:00
hshristov
23b1825fc7 implement menuOptions 2015-03-26 17:32:27 +02:00
Erjan Gavalji
70756fb115 OptionsMenu XML support 2015-03-26 17:32:25 +02:00