• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSDrawer contentView clip
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: [ANN] Houston iPhone dev meetup Tuesday 10/26
  • Next by Date: Debugging a self made Framework
  • Previous by thread: [ANN] Houston iPhone dev meetup Tuesday 10/26
  • Next by thread: Drag and drop between 2 table views
  • Index(es):
    • Date
    • Thread