bug in NSButtonCell's subclass?
bug in NSButtonCell's subclass?
- Subject: bug in NSButtonCell's subclass?
- From: joie <email@hidden>
- Date: Wed, 3 Apr 2002 22:27:07 -0600
Hallo, cats, joie again; this time with a question about the strange
behavior of certain OSButtonCell objects(subclasses of NSButtonCell
which add a single variable, an imageTag, as a convenience for yours
truly.) in an NSMatrix that represents what is, basically, an
area-creation program for a tile-based RPG. The images are set just
fine, but they don't display. Here's the code...
[[editOutlet cellAtRow:p column:i]
setImage:[defaultTileDOutlet image]];
NSLog(@"%@", [[editOutlet cellAtRow:p column:i] image]);
the NSLog does give the expected response- that is to say, a non-null
one- but the image doesn't display. I'm certain that editOutlet is set
correctly, as other methods are able to change cells' appearances in
that matrix quite easily. defaultTileDOutlet is a plain, run-of-the-mill
NSButtonCell with an image and a tag associated with it. any ideas on
why these OSButtonCells aren't displaying their images would be
appreciated.
-joie
I always seem to be the one with weird problems. o_O;;
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.