• 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
Easy question...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Easy question...?


  • Subject: Easy question...?
  • From: Rams <email@hidden>
  • Date: Fri, 21 Feb 2003 23:11:39 -0500

Hi all,

Simple question I hope. I have a NSView subclass (subclass of NSTextField actually) and I would like to lock the height at 22 and prevent it from being sized smaller than a reasonable width. Where would be the best place to do this? setFrame, setBounds, setFrameSize, setBoundsSize...? Is there one place where I can do it all at once or do I need to override all of these and more? Cocoa/Java in case it makes any difference...

--

If you hold a Unix shell to your ear, do you hear the C?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: How to assign NSCell type for NSTableColumn's data cell via IB?
  • Next by Date: Re: Has My Image Been Premultiplied?
  • Previous by thread: Re: Dumb question regarding IB palettes..
  • Next by thread: Adding text attributes to current cursor position
  • Index(es):
    • Date
    • Thread