Le 2 mai 09 à 00:42, Alex Kac a écrit :
I know there was a discussion about this a few months ago on this list, but I cannot find the right terms to search for. The discussion was how to draw text so that it was sunken much like you see in the toolbar. I just remember there was a specific way recommended to do it and I can't find it. Drawing the text twice is more of a shadow effect, so I don't think that was it...
the -[NSCell setBackgroundStyle:] method is the key. [[myTextField cell] setBackgroundStyle:NSBackgroundStyleRaised]; _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
