NSView's autoresizing
NSView's autoresizing
- Subject: NSView's autoresizing
- From: Matt Jaffa <email@hidden>
- Date: Sat, 8 May 2004 14:44:02 -0600
Hi,
In IB when you create a view and get the info on it, and if you go to
the subcategory "size",
you can make it so that view autosizes, by changing those lines to the
swirly ones.
Is there a way to do this programmatically in my code.
Like I do NSView * newview = [[NSView alloc] init];
now what would I do to make is so that this view is autosized? I was
looking at NSViews documentation, but it seems all the autosizing
methods it mentioned was used for subviews and not for the view itself.
Please let me know if anyone knows this.
Thanks,
Matt
_______________________________________________
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.