iphonePick popover size

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

iphonePick popover size

Post by CALL-151 » Sun Sep 25, 2011 6:10 pm

The iPad popover created with the iphonePick command seems to display an optionList of up to 7 items, after which the user must scroll to see additional items. To see what I mean, try this on an iPad:

Code: Select all

 iphonePick "1" & return &"2" & return &"3" & return &"4" & return &"5" & return &"6" & return &"7" & return &"8" & return &"9" & return &"10" & return, 1,"checkmark"
I find the need to scroll to be less than intuitive for the user and am looking for a way to force a larger popover size which will accommodate more than 7 items. Does anyone have a solution?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: iphonePick popover size

Post by Mark » Tue Sep 27, 2011 12:54 am

Hi,

I think you'll have to talk to Apple if you don't like their iPad controls :-)

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

CALL-151
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 206
Joined: Wed Oct 20, 2010 11:00 am

Re: iphonePick popover size

Post by CALL-151 » Tue Sep 27, 2011 2:30 am

It's not an Apple issue. The default popover height is 1100 px, and has a contentSizeForViewInPopover property to permit resizing. See:

http://developer.apple.com/library/ios/ ... llers.html

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7390
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: iphonePick popover size

Post by jacque » Tue Sep 27, 2011 10:59 pm

Your best bet would be to submit a feature request to the Quality Control Center. Resizing would have to be an engine implementation.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply