[TIMOB-1506] iOS: Dashboard view broken on ipad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-07-25T17:21:31.000+0000 |
Affected Version/s | Release 1.6.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Zach Anderson |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:54:38.000+0000 |
Updated | 2012-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
- 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.
- 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.
- Stephen Tramer 2011-04-15
Dashboard is the new Coverflow in terms of needing a major update/rewrite.
- 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.