Re: Custom NSButton image effects for pressed/disabled
Re: Custom NSButton image effects for pressed/disabled
- Subject: Re: Custom NSButton image effects for pressed/disabled
- From: Richard Charles <email@hidden>
- Date: Thu, 13 Dec 2018 07:28:28 -0700
> On Dec 12, 2018, at 5:31 PM, Lars C. Hassing <email@hidden> wrote:
>
> The button should look like
>
> +---+ +---+
> | 1 | Title | 2 |
> +---+ +—+
>
> (try using Courier for the ASCII art)
>
> I am looking for system functions to produce the SAME look and feel as Cocoa
> controls.
Compose your image as a single image but with disjointed parts. I use Inkscape
to draw vector graphics and use a pdf for the image. The only place in the
"image" where there is something is where something is drawn. Everywhere else
it is just an empty background.
--Richard Charles
_______________________________________________
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