Is there a way to prevent a NSDrawer from being resized? I’ve tried setting the Min and Max content size to the same value and no luck.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Set up an NSDrawer delegate which implements drawerWillResizeContents:toSize:. If the method just returns [sender contentSize], the drawer’s content size won’t change.
If that doesn’t prevent the overall drawer size from changing, your delegate may also need to implement windowWillResize:toSize:, as mentioned in the above documentation link for drawerWillResizeContents:.