subview won't resize
subview won't resize
- Subject: subview won't resize
- From: "Ewan Delanoy" <email@hidden>
- Date: Sat, 21 Apr 2007 18:17:01 +0200 (CEST)
- Importance: Normal
Hello all,
I have a MultiplePageView class that imitates the
MultiplePageView class
in the source code for TextEdit : this is a view which has a series of
text views
for subviews. My problem with my copy-class is, the text views
do not resize when the main view changes sizes. I checked in the debugger
that the following parameters were identical in TextEdit and in my app :
-The method "autoresizesSubviews" called on the main
view returns YES in both cases.
-The method "autoresizingMask" called on the text views
returns 0 (i.e. not resizable) in both cases.
So I don't see where the difference of behaviour comes from. Is there
another parameter I should have checked ?
Ewan
_______________________________________________
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