• 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
Re: NSTabView Sizing Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTabView Sizing Question


  • Subject: Re: NSTabView Sizing Question
  • From: Conrad Shultz <email@hidden>
  • Date: Fri, 26 Aug 2011 11:12:17 -0700

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/26/11 11:08 AM, Jens Alfke wrote:
> What I would do is, once you know the content view size you want,
> compute the difference between that size and the content’s current
> size, then grow the window by that amount.
>
> The assumption is that that every pixel you grow the window also
> grows the content view by a pixel; this is usually true in the kind
> of window you’re describing, but if it isn’t, you might have to
> temporarily change some of the view autoresize masks while you do
> this.

That makes so much more sense than what I had been doing... I even had
the autoresizing masks set properly, but couldn't see the forest for
the trees.

Thanks for the helpful suggestion.  I'll give it a shot, seems like it
should work.


- --
Conrad Shultz

Synthetiq Solutions
www.synthetiqsolutions.com

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFOV+IAaOlrz5+0JdURAiW4AJ9roj4dxLUgVCug515Za8gQIXPqrgCfYtdh
gM+mlkeXL0cT5RDIbj+u2aU=
=Dmn2
-----END PGP SIGNATURE-----
_______________________________________________

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

References: 
 >NSTabView Sizing Question (From: Conrad Shultz <email@hidden>)
 >Re: NSTabView Sizing Question (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: NSTabView Sizing Question
  • Next by Date: Re: Persistant reference to file that is not a path?
  • Previous by thread: Re: NSTabView Sizing Question
  • Next by thread: Layer Backed WebView: assertion failed/CGGStackRestore crash on Google News page
  • Index(es):
    • Date
    • Thread