Titanium Community Questions & Answer Archive

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

Option Dialog not working properly on iPad

Code straight from Kitchen Sink 1.3.2 fails to display the last of three options.

I tried adding a blank fourth option and managed to get a partial distorted button where the third option should be.

Anybody managed to fix this?

regards,

JH

— asked July 23rd 2010 by John Holman
  • dialog
  • ipad
  • option
0 Comments

1 Answer

  • I had to set up my options this way to get the last option, Cancel, to show on the iPad:

    var a = Titanium.UI.createOptionDialog({
            title:    customerName,
            options: ['Sign Out', 'Delete', 'Cancel', ''],
            destructive:  1,
            cancel:  2
        });
    
    — answered January 30th 2011 by Jaime Fuhr
    permalink
    4 Comments
    • https://appcelerator.lighthouseapp.com/projects/32238/tickets/1444-ipad-optionsdialog-fails-to-display-last-option-height-bug

      — commented January 30th 2011 by Jaime Fuhr
    • Is there any news on this? This post is 9 months old. I just had it happen to me, SDK 1.7.2.

      — commented October 11th 2011 by Steve Lombardi
    • Still occuring on iPad with 1.8.2

      — commented March 27th 2012 by Julian Fraser
    • I cannot believe this is still happening. Just discovered it.

      — commented July 28th 2012 by Ian Tearle
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.