Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Programatically resizing a NSTableView



Dear Rolf,

Try this one line of code:

[theWindow setContentSize:NSMakeSize(500,300)];


jim k




On 9/30/03 1:46 PM, "Rolf" <email@hidden> wrote:

> Hi,
>
> I am desperately trying to resize a NSTableView programatically but it just
> won't resize and I don't understand why.
> I have tried setFrame, setFrameSize, added setNeedsDisplay, etc. Why doesn't
> setFrame work, and what's the correct way to do it ?
>
> /Rolf
> _______________________________________________
> cocoa-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/cocoa-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Programatically resizing a NSTableView (From: Rolf <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.