Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Marimuthu

macrumors member
Original poster
Oct 18, 2010
43
0
Hi,

Is it possible to customize the drawer view of the NSDrawer control available in Cocoa?.
My requirement is an drawer without the border along the 3 sides of the window.

Could somebody please help me by guiding me as to how I should approach this problem.

Thanks & Regards.
 
Hi,

I did refer to this document about NSDrawer. Found that info related to the "Default" drawer operation are specified (like size of drawer window, the edge in which the drawer should open/close etc).

I could not find any info on over-riding the default look and feel of the drawer control.
 
I would consider setting a breakpoint somewhere so you can examine the structure of the drawer's content view. You might find some of the appearance elements (the 3d edge, for instance) are specific NSView objects. You might be able to tear out the part you do not want and replace it with a superview that pleases you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.