Why isn't sizeToFit being called?
Why isn't sizeToFit being called?
- Subject: Why isn't sizeToFit being called?
- From: Ricky Sharp <email@hidden>
- Date: Tue, 7 Dec 2004 17:29:18 -0600
Some of my custom widgets derive from NSControl and so I provided an
implementation of sizeToFit that will do the right thing. This works
out well.
The remainder of my widgets derive from NSView. But when I implement
sizeToFit, it's never called from within IB.
I know that other NSView derivatives implement sizeToFit and they work
a-ok in IB (e.g. NSBox).
AFAIK, there's no special protocol to implement.
Any ideas?
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden