Re: Mac Widget Limitation? [message #65765] |
Thu, 19 March 2009 21:03 |
stefan5465
Messages: 13 Registered: March 2009
|
Junior Member |
|
|
On 18 Mar, 19:31, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I have a report today that the Mac cannot display
> more than 30 items in a droplist. I'm skeptical,
> because such a limitation does not exist in Windows
> or UNIX in general. Could someone with a Mac run this
> code and tell me if cows appear?
>
> tlb = widget_base()
> value = [replicate('coyote', 30), replicate('cow', 30)]
> droplist = widget_droplist(tlb, XSIZE=150, Value=[value])
> widget_control, tlb, /realize
>
> Thanks,
>
> David
> --
> David Fanning, Ph.D.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
David,
Here's what I get:
http://img207.imageshack.us/img207/7122/picture1uun.png
Stefan
|
|
|
Re: Mac Widget Limitation? [message #65801 is a reply to message #65765] |
Wed, 18 March 2009 12:39  |
ben.bighair
Messages: 221 Registered: April 2007
|
Senior Member |
|
|
On Mar 18, 3:31 pm, David Fanning <n...@dfanning.com> wrote:
> Folks,
>
> I have a report today that the Mac cannot display
> more than 30 items in a droplist. I'm skeptical,
> because such a limitation does not exist in Windows
> or UNIX in general. Could someone with a Mac run this
> code and tell me if cows appear?
>
> tlb = widget_base()
> value = [replicate('coyote', 30), replicate('cow', 30)]
> droplist = widget_droplist(tlb, XSIZE=150, Value=[value])
> widget_control, tlb, /realize
>
I can see cows, but not all 30 as the last 20 or so are cut off by my
tiny screen.
{ ppc darwin unix Mac OS X 6.3 Mar 23 2006 32 64}
Cheers,
Ben
|
|
|
Re: Mac Widget Limitation? [message #65802 is a reply to message #65801] |
Wed, 18 March 2009 12:37  |
Brian Larsen
Messages: 270 Registered: June 2006
|
Senior Member |
|
|
I saw no issues, I saw 30 coyotes and what looked like fewer than 30
cows, a little tall for my screen so some went off the bottom I think.
IDL Version 7.0.4, Mac OS X (darwin x86_64 m64).
Brian
------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
|
|
|