FROM : Sean McBride
DATE : Tue Apr 26 21:59:49 2005
On 2005-04-26 11:40, Shawn Erickson said:
>Consider NSViewBoundsDidChangeNotification or assuming you are dealing
>with a subclassing of NSView then as you noted override
>resizeWithOldSuperviewSize:. You should get this message if the
>super-view has auto-resizing enabled (see setAutoresizesSubviews:).
hmmm, the setAutoresizesSubviews: docs say "View objects do autoresize
their subviews by default." I have done nothing to set it to NO, and
even called
[[self superview] setAutoresizesSubviews:YES];
in my view's awakeFromNib, but still resizeWithOldSuperviewSize: in never
called.
--
____________________________________________________________
Sean McBride, B. Eng <email_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
DATE : Tue Apr 26 21:59:49 2005
On 2005-04-26 11:40, Shawn Erickson said:
>Consider NSViewBoundsDidChangeNotification or assuming you are dealing
>with a subclassing of NSView then as you noted override
>resizeWithOldSuperviewSize:. You should get this message if the
>super-view has auto-resizing enabled (see setAutoresizesSubviews:).
hmmm, the setAutoresizesSubviews: docs say "View objects do autoresize
their subviews by default." I have done nothing to set it to NO, and
even called
[[self superview] setAutoresizesSubviews:YES];
in my view's awakeFromNib, but still resizeWithOldSuperviewSize: in never
called.
--
____________________________________________________________
Sean McBride, B. Eng <email_removed>
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
| Related mails | Author | Date |
|---|---|---|
| Sean McBride | Apr 26, 20:25 | |
| John Brownlow | Apr 26, 20:37 | |
| Shawn Erickson | Apr 26, 20:40 | |
| Sean McBride | Apr 26, 21:59 | |
| Sean McBride | Apr 26, 23:36 | |
| Shawn Erickson | Apr 26, 23:45 |






Cocoa mail archive

