• 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
Re: Drawer width problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawer width problem


  • Subject: Re: Drawer width problem
  • From: Ferhat Ayaz <email@hidden>
  • Date: Wed, 3 Jan 2007 20:50:53 +0100

Thanks,
this is  what I want.

[angebotDrawer setContentSize:NSMakeSize(300,200)];

On Jan 3, 2007, at 12:03 AM, Robert Walker wrote:

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:
40googlemail.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


References: 
 >Drawer width problem (From: Ferhat Ayaz <email@hidden>)
 >Re: Drawer width problem (From: Robert Walker <email@hidden>)
 >Re: Drawer width problem (From: Robert Walker <email@hidden>)

  • Prev by Date: Catching a keyDown within draggingUpdated
  • Next by Date: Re: Switch/case with NSString?
  • Previous by thread: Re: Drawer width problem
  • Next by thread: Re: Drawer width problem
  • Index(es):
    • Date
    • Thread