NSDrawer contentView clip
NSDrawer contentView clip
- Subject: NSDrawer contentView clip
- From: "gMail.com" <email@hidden>
- Date: Mon, 25 Oct 2010 13:26:46 +0200
- Thread-topic: NSDrawer contentView clip
I have put some buttons within a drawer.contentView
The top most button gets cut by 20 pixels because the contentView result
shorter than its superview height. So, at the top of the drawer I always see
a gray rectangle, 20 pixels height, where I can't draw in.
Please, how can I use the whole height of the drawer height?
I unsuccessfully tried to subclass the contentView and return different
frame and bounds values, also returning bigger values with
drawerWillResizeContents but, no way. It seems that the contentView gets
clipped by its superview. Any solution?
Best Regards
--
Leo
_______________________________________________
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