• 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
Resizing Etiquette for views?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resizing Etiquette for views?


  • Subject: Resizing Etiquette for views?
  • From: "Marc Wan" <email@hidden>
  • Date: Thu, 5 Oct 2006 13:58:06 +0800

Hello!

 i've got a subclasses NSView that wants to enforce a minimum size for
itself sometimes (it actually works in the UI scheme I have involving
scrolling, etc).

 now, the question i have is:  what's the best way to go about this?  I
currently have overriden - (void)setFrameSize, but that seems both
unreliable and hack-y.  and i worry about setting a new size within this
method ...

 is there a preferred way to find out

 a. when i'm being resized
 b. enforce a different size in certain situations?

 thanks
 marc.
_______________________________________________
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: Disabling Sorting of columns in Tableview
  • Next by Date: Tabbing to buttons in a procedural view.
  • Previous by thread: Re: Disabling Sorting of columns in Tableview
  • Next by thread: Tabbing to buttons in a procedural view.
  • Index(es):
    • Date
    • Thread