• 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
Programmatic "Size To Fit"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Programmatic "Size To Fit"


  • Subject: Programmatic "Size To Fit"
  • From: Randall Meadows <email@hidden>
  • Date: Thu, 1 May 2008 11:39:42 -0600

I am creating a bunch of controls (at least NSTextfield, NSPopupButton, NSSlider, and perhaps others) programmatically (that will eventually be shown in an NSTableView), and would like to apply the "Size To Fit" feature that IB provides. However, there doesn't seem to be any API that does that.

Does IB simply brute-force the resizing for every type of view, or am I missing the appropriate call in the NSView API?

Thanks!
randy
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Follow-Ups:
    • Re: Programmatic "Size To Fit"
      • From: Stéphane Sudre <email@hidden>
    • Re: Programmatic "Size To Fit"
      • From: Rob Napier <email@hidden>
    • Re: Programmatic "Size To Fit"
      • From: Michael Watson <email@hidden>
    • Re: Programmatic "Size To Fit"
      • From: John Stiles <email@hidden>
    • Re: Programmatic "Size To Fit"
      • From: Martin <email@hidden>
  • Prev by Date: trouble debugging input method remotely
  • Next by Date: Re: [SOLVED] Re: FSCopyObjectASync Not Calling Callback In Cocoa
  • Previous by thread: Re: trouble debugging input method remotely
  • Next by thread: Re: Programmatic "Size To Fit"
  • Index(es):
    • Date
    • Thread