28 Commits

Author SHA1 Message Date
1e0f130b38 Merge pull request #1430 from NativeScript/gatanasov/lazy-require-fixes
Revisit lazy require routine
2016-02-01 16:54:31 +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
a2fd4d1c9c Merge pull request #1416 from NativeScript/feature/proxy-view-container
Feature/proxy view container
2016-01-26 13:31:53 +02:00
56f1aaa795 Do not use lazy requires where not needed. 2016-01-25 16:33:18 +02:00
eac95156d1 Proxy view container 2016-01-25 11:30:36 +02:00
ee8dfb3b72 Call removeRows/Columns in set rows and columns methods 2016-01-22 18:13:16 +02:00
68cdff85bd GridLayout now calls virtual methods when rows/columns are set through XML.
Added test.
Improved code readability.
2016-01-21 13:55:32 +02:00
20f8f8a852 Fixed bug in GridLayout
Added tests for GridLayout
2016-01-19 10:54:21 +02:00
e5351786b7 Accept whitespace separators in grid rows and cols properties 2016-01-13 14:03:33 +02:00
074ac89871 imports improved 2015-12-17 14:53:46 +02:00
1dbb742908 Implemented percent support for width, height and margins 2015-12-15 14:36:27 +02:00
070b01c544 Remove UTF-8 BOM's from package.json files 2015-12-01 15:37:14 +02:00
219c0c8033 Private methods of gird prefixed with _ 2015-10-29 16:26:47 +02:00
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
69e651bb43 Adding void return statements 2015-10-01 10:38:24 +03:00
7d948265f3 Adding removeColumns() and removeRows() to GridLayout 2015-10-01 10:34:30 +03:00
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
958d6b41f0 Move layout special properties sets out of the component builder.
Setters registered by the respective modules on import.
2015-09-10 19:18:11 +03:00
b082cb1c99 Fix for applying style attribute on Grid 2015-09-04 13:48:46 +03:00
3f4cf47578 Fix ItemSpec length is rounded 2015-08-10 14:30:46 +03:00
4c03cddbd6 Fix tslint error
Change module-merge to use the global merge function
2015-08-03 13:49:22 +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
7516ac6ab3 ApplyXmlAttributes implementation fixed 2015-08-03 13:48:54 +03:00
0da2f297fd Fix tslint errors 2015-08-03 13:48:44 +03:00
0ad198165c Layouts are now implemented natively for Android. 2015-08-03 13:48:41 +03:00
f3979136a4 Frobit setting inline style from code 2015-07-07 15:02:32 +03:00
25d54e0ed7 Fixed several compile issues. 2015-03-23 09:57:46 +02:00
cc829e0152 definitions fixed 2015-03-03 10:34:40 +02:00