Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Can the Dashboard View be anything other than 3x3?

Hi
I wanted to use the dashboard view for an iPad application to display a items, kind of like the bookshelf. Is there anyway to set the number of cells for the dashboard view?
Or will there be a way in the future?

Thanks
James

— asked July 22nd 2010 by James Sugrue
  • dashboard
  • ipad
0 Comments

6 Answers

  • There's a patch here that would seem to enable the ability to set the number of rows. Of course, you'll have to roll your own Titanium Mobile. Haven't tried it myself, but would love to see the feature incorporated into a released version.

    — answered March 22nd 2011 by Richard Trott
    permalink
    2 Comments
    • Has anyone tried this? And does anyone know how to set the number of columns and rows in the javascript source once the patch has been implemented in the mobile sdk?

      — commented June 15th 2011 by Brandon Jackson
    • this doesn't work with 1.8.1

      — commented February 2nd 2012 by Sebastian Klaus
  • Hi,

    have you found a solution?

    Thank
    Carl Jahn [New Identity AG]

    — answered September 8th 2010 by Carl Jahn
    permalink
    0 Comments
  • Have you found a solution yet? I need a 4 x 4 dashboard with bigger buttons. Is it possible?

    — answered September 23rd 2010 by Ricardo Arguello
    permalink
    0 Comments
  • I was able to get a 2x2 dashboard by adjusting the top/left of the dashboarditems. The only problem… the images aren't passed into the item, and they don't have the standard image/selectedImage clickness

    http://developer.appcelerator.com/question/60081/dashboard-in-2x2-pattern

    — answered September 23rd 2010 by Critter
    permalink
    0 Comments
  • Hi
    I modified iphone/Classes/TiUIDashboardView.m
    changing the resolution here
    from 400 to 480, and now I have 3x4

    launcher = [[LauncherView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];

    — answered October 30th 2010 by Michele Nasoni
    permalink
    0 Comments
  • column size setting

    build/iphone/Classes/LauncherView.m

    static const NSInteger kLauncherViewDefaultColumnCount = 4;

    — answered October 10th 2011 by JinHo Park
    permalink
    2 Comments
    • and what about the pager in the bottom of the dashboard view ? can we control it ?

      — commented November 1st 2011 by adn dev
    • LauncherView use UIPageControl,

      /iphone/Classes/LauncherView.m , line 90

      pager = [[UIPageControl alloc] init];

      [self addSubview:pager];

      but Titanium is not support UIPageControl.
      you need custome page control.

      reference to http://www.onidev.com/2009/12/02/customisable-uipagecontrol/

      — commented November 2nd 2011 by JinHo Park
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.