• 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
autoresizing problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

autoresizing problem


  • Subject: autoresizing problem
  • From: Ivan Kourtev <email@hidden>
  • Date: Wed, 8 Nov 2006 19:44:56 -0500

I have a simple situation with a custom view A and a custom subview B in it (hooked up in IB, not programmatically). The subview B starts out exactly covering the view A and I want the subview to resize automatically with the view so I set all the necessary springs in IB. the problem I am having is that resizing the view A (via setFrame) causes an autoresize of the subview B only the first time.

I checked every possible thing, including setting all required autoresizing flags programmatically. I also overrode - (BOOL) autoresizesSubviews { return YES; } of the view A and I cannot get this seemingly wrong behavior to go away.

Any suggestions what may be happening here?

Thanks,

-- ivan

_______________________________________________
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


  • Prev by Date: Re: NSTableView thoughts (or afterthoughts)
  • Next by Date: Re: Setting icon with make file
  • Previous by thread: [ANN] CocoaDev Jobs Board
  • Next by thread: OT: Where do the UI designers live?
  • Index(es):
    • Date
    • Thread