Re: Drawer width problem
Re: Drawer width problem
- Subject: Re: Drawer width problem
- From: Robert Walker <email@hidden>
- Date: Tue, 2 Jan 2007 18:03:14 -0500
By the way there is also:
setContentSize:
Sets the size of the receiver’s content area.
- (void)setContentSize:(NSSize)size
This may be more what you want in your case.
On Jan 2, 2007, at 5:44 PM, Robert Walker wrote:
Have you looked at the following method of NSDrawer:
- (void)setMinContentSize:(NSSize)size
I don't think...
- (void)setWidth:(int)size
...even exists on NSDrawer.
On Jan 2, 2007, at 4:54 PM, Ferhat Ayaz wrote:
Hello,
I want to give a drawer a minimum width of 300 pixels. But the
application shows me a more slim drawer. What is the problem?
How can I change the with of the drawer (at least at runtime)?
[drawer setWidth:300]; raises an error.
Thanks,
Ferhat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
40mac.com
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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