Re: Discussion on how to draw text like that seen in toolbars
Re: Discussion on how to draw text like that seen in toolbars
- Subject: Re: Discussion on how to draw text like that seen in toolbars
- From: Steven Degutis <email@hidden>
- Date: Mon, 4 May 2009 17:27:00 -0500
What you're looking for is done with this code:
[[textField cell] setBackgroundStyle:NSBackgroundStyleRaised];
Though with great power comes great responsibility. Use this code wisely,
try to follow the HIG or some equivalent set of guidelines! The world would
be a much worse place if all text had this sunken-in look.
- Steven Degutis
On Fri, May 1, 2009 at 5:42 PM, Alex Kac <email@hidden> wrote:
> 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...
>
> Alex Kac - President and Founder
> Web Information Solutions, Inc.
>
> "Patience is the companion of wisdom."
> --Anonymous
>
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
--
~Steven Degutis
President, Thoughtful Tree Software, Inc.
http://www.ThoughtfulTree.com/
http://www.TeachMeCocoa.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden