• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
subview won't resize
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Getting default system font
  • Next by Date: Undo Manager
  • Previous by thread: NSPrintInfo object displayed strangely in debugger
  • Next by thread: Undo Manager
  • Index(es):
    • Date
    • Thread