• 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
NSSplitView IB and auto resize problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSplitView IB and auto resize problems


  • Subject: NSSplitView IB and auto resize problems
  • From: Monte Ohrt <email@hidden>
  • Date: Sun, 27 Jan 2008 14:02:11 -0600

Hi,

I'm a bit new to cocoa development, and hopefully I'm missing something simple here.

I'm trying to create a simple NSSplitView with one vertical divider. I want the entire NSSplitView to stretch with the main program window (which it does by default), but I want the width of the left view to retain its initial width (example, like how apple mail works.) I tried setting the left view's anchors to top/left/bottom and have it stretch vertically but not horizontally in IB (and the little red preview pane indicates the behavior I want.) However, when I hold down the apple key to preview the auto resize, both windows resize proportionally to the entire window. How do I get the left view to keep it's width (ie. vertical divider should not move) ?

btw, I have not put any contents inside the left or right views, I'm just trying to get the auto resize to work first.

TIA
Monte
_______________________________________________

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: NSSplitView IB and auto resize problems
      • From: Dave Batton <email@hidden>
  • Prev by Date: Re: Handling User Generated Tablet Events
  • Next by Date: how to manipulate a QCCompositionLayer?
  • Previous by thread: Handling User Generated Tablet Events
  • Next by thread: Re: NSSplitView IB and auto resize problems
  • Index(es):
    • Date
    • Thread