Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1506] iOS: Dashboard view broken on ipad

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-25T17:21:31.000+0000
Affected Version/sRelease 1.6.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterZach Anderson
AssigneeNeeraj Gupta
Created2011-04-15T02:54:38.000+0000
Updated2012-07-26T22:21:25.000+0000

Description

Looking at TiUIDashboardView.m it seems like there might be some iphone specific things baked in, like screen resolution, etc.. Setting height and width manually when creating the view seems to break things more. When dashboard icons do display, the images are distorted.

Comments

  1. Zach Anderson 2011-04-15

    After some more staring, I think a big part of the problem is that rowHeight is set to 103 in LauncherView.m, and can't be changed.

  2. Zach Anderson 2011-04-15

    My suggestion. Make item width and height properties of the DashboardView, not the Items. Then emit a warning/error if someone tries to add an item to a dashboard that exceeds the bounds. This way, people can make their items of custom size, and you can pre-calculate how many rows and columns you need given the size of the view.

  3. Stephen Tramer 2011-04-15

    Dashboard is the new Coverflow in terms of needing a major update/rewrite.

  4. Stephen Tramer 2012-07-25

    Cannot reproduce in SDK 2.2.0.014b86f on iPad Sim 5.1. Dashboard appears functional and has correct behavior.

JSON Source