[AC-2836] DashboardView with custom items inside a NavigationGroup
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-07-02T14:30:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | dashboard, ios, layout, navigationGroup |
Reporter | Juan G. Hurtado |
Assignee | Varun Joshi |
Created | 2012-06-26T04:26:25.000+0000 |
Updated | 2016-03-08T07:47:46.000+0000 |
Description
I'm having a weird issue while using a DashboardView inside a Window which is managed with a NavigationGroup (of course we are talking about iPhone platform here).
The issue is about the positioning of the custom view I have used inside the DashboardItem. Attached to this issue you can find two screenshots.
When I open the window with the dashboard using a navigation group this way, it fails:
var navGroup = Ti.UI.iPhone.createNavigationGroup({
window : win_with_dashboard
});
var containerWindow = Ti.UI.createWindow();
containerWindow.add(navGroup);
containerWindow.open();
But If I open just the window, without using the navigation group, everything is fine:
win_with_dashboard.open();
Does NavigationGroup alters in any way the layout of the windows? Does it alter the layout just for the Dashboard?
Note that my DashboardView uses DashboardItems with custom views, in order to get icons with labels.
Tested under Titanium SDK 2.0.1.GA2 and 2.0.2.GA. On 1.8.2 it works fine.
Attachments
File | Date | Size |
---|---|---|
issue-dashboard-appcelerator-01.png | 2012-06-26T04:26:25.000+0000 | 54142 |
issue-dashboard-appcelerator-02.png | 2012-06-26T04:26:25.000+0000 | 76112 |
Fixed on SDK version: 2.1.0 (06/28/12 12:16 6e3cab6)
Thanks for the update. Closing this issue.