I am trying to get a inner shadow on a label in my Mac app.
I am trying to match the Photoshop design my designer sent over.
The look I am trying to match is:
The way this is being done in Photoshop is by setting an inner shadow with the following settings:
I have seen several different solutions for this type of thing here on other sites, but none of them work right.
For example everyone says to use:
[[myNSTextField cell] setBackgroundStyle:NSBackgroundStyleRaised];
I have found lots of stuff about doing an inner shadow on a NSBezierPath or similar but not with a label.
This answer to a question says to use the above setBackgroundStyle and then says to
Your gradient background then could be reached for example by using a custom view with a NSGradient
But where does this view go? The link the answer references talks about doing a inner shadow on a window again, not text.
Can anyone help me out with this?
Thanks