Resizing Etiquette for views?

  • 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.
previous month october 2006 next month
MTWTFSS
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Go to today