Skip navigation.
 
mlRe: Drawing a drop-shadow around a view
FROM : Jonathan Dann
DATE : Fri Jul 25 21:36:31 2008

How odd I came across this yesterday on my travels! The site for this 
source is

http://www.bergdesign.com/missing_cocoa_docs/nsclipview.html

Jonathan

www.espresso-served-here.com

On 25 Jul 2008, at 11:13, Ian Jackson wrote:

> Hi Graham,
>
> if I understand your question, then I wanted to do something like 
> this a while back. I got something off the internet, though I can't 
> remember where.  Here's the source that I incorporated into my code. 
> It's been ages since I added it in, so I can't remember whether this 
> takes care of everything or not. I think it does.
>
> Ian.
>
> P.S. if anyone recognises this code as theirs, then I apologise.
>
> <SEDrawingClipView.m>
>
>
> On 25/07/2008, at 1:43 PM, Graham Cox wrote:
>

>> I have a view embedded in a NSScrollView. When the view is small 
>> there's a large expanse of grey visible. I'd like to draw a drop-
>> shadow around the view in this situation to help it stand out 
>> slightly from the background. What's a good approach to do this?
>>
>>
>> tia,
>>
>> cheers, Graham

Related mailsAuthorDate
mlDrawing a drop-shadow around a view Graham Cox Jul 25, 03:43
mlRe: Drawing a drop-shadow around a view Ian Jackson Jul 25, 12:13
mlRe: Drawing a drop-shadow around a view Jonathan Dann Jul 25, 21:36
mlRe: Drawing a drop-shadow around a view Ian Jackson Jul 26, 00:18
mlRe: Drawing a drop-shadow around a view Graham Cox Jul 26, 03:17