bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in popup button


From: Jeff Teunissen
Subject: Re: bug in popup button
Date: Sat, 12 Apr 2003 09:36:29 -0400

Serg Stoyan wrote:

> Hello Michael,
> 
> > This quick hack should make this work. It seems to work here (tm). :-)
> >
> > The only thing that might be wrong is the reference counting, I'm
> > still trying to learn that.
> 
>   On OPENSTEP, InteraceBuilder doesn't allow to remove last item from
>   NSPopUpButton. I think we should do it as well, so removeAllItems
>   should leave item with empty title or item at index 0. I'll check it
>   with OPENSTEP.

On OPENSTEP:

NSPopUpButtonCell doesn't exist -- the cell is just a button cell that
gets its title set by the popup button...and as such, doesn't have a
problem displaying an empty string for a title.

The image is right-aligned, the text is left-aligned, for both popups and
pulldowns.

The graphics in the menu do not change until after the menu window has
left the screen.

An empty (zero items) popup button beeps when you click it, and does
nothing else (no menu appears, no action is sent).

Both itemsArray and numberOfItems can return zero.

-- 
| Jeff Teunissen  -=-  Pres., Dusk To Dawn Computing  -=-  deek @ d2dc.net
| GPG: 1024D/9840105A   7102 808A 7733 C2F3 097B  161B 9222 DAB8 9840 105A
| Core developer, The QuakeForge Project        http://www.quakeforge.net/
| Specializing in Debian GNU/Linux              http://www.d2dc.net/~deek/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]