Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2836] DashboardView with custom items inside a NavigationGroup

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2012-07-02T14:30:37.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsdashboard, ios, layout, navigationGroup
ReporterJuan G. Hurtado
AssigneeVarun Joshi
Created2012-06-26T04:26:25.000+0000
Updated2016-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

FileDateSize
issue-dashboard-appcelerator-01.png2012-06-26T04:26:25.000+000054142
issue-dashboard-appcelerator-02.png2012-06-26T04:26:25.000+000076112

Comments

  1. Juan G. Hurtado 2012-07-02

    Fixed on SDK version: 2.1.0 (06/28/12 12:16 6e3cab6)
  2. Varun Joshi 2012-07-02

    Thanks for the update. Closing this issue.

JSON Source