Saturday, 14 September 2013

Making a CustomView with a static vertical size in Cocoa

Making a CustomView with a static vertical size in Cocoa

I'm making a document viewer in Objective-C, I want to have a bar at the
top of the page with a bunch of buttons in it which open up menus, change
pages, etc. At the moment I'm using a custom view which then just has all
of the buttons inside it, but my problem is that it isn't a static
vertical height, so when the window resizes it changes the size of the
custom view rather than my PDFView. Is there a way I can stop it from
resizing, or is there a better method I should be using to create a menu?
Thanks!

No comments:

Post a Comment