• 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
best way to deal with resizable controls that can go to zero?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

best way to deal with resizable controls that can go to zero?


  • Subject: best way to deal with resizable controls that can go to zero?
  • From: mike woodworth <email@hidden>
  • Date: Mon, 24 Sep 2007 14:36:32 -0400

Hello,

I'm a recent convert to Cocoa, and after a few months of development, I'm putting the finishing touches on my first Cocoa app. One annoyance I've run into is dealing with resizable views and springs. The app has a sidebar that needs to collapse, and the controls within it are set to resize, but if the sidebar closes beyond the point where a control gets a width of 0, things go to pot.

What is the best practice for working around this? Is there a common solution? I can handle all the resizing programmatically, but I'm hoping someone can offer an easier solution.

mike
--
Mike Woodworth
email@hidden


_______________________________________________

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: best way to deal with resizable controls that can go to zero?
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Instantiate custom NSWindow
  • Next by Date: Re: drag and drop images to NSWindow doesn't work
  • Previous by thread: Re: Instantiate custom NSWindow
  • Next by thread: Re: best way to deal with resizable controls that can go to zero?
  • Index(es):
    • Date
    • Thread