• 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: Resizing subviews within NSSplitView programmatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resizing subviews within NSSplitView programmatically


  • Subject: Re: Resizing subviews within NSSplitView programmatically
  • From: Ken Ferry <email@hidden>
  • Date: Sun, 7 Nov 2004 05:04:07 -0500

Hi Ric,

On Fri, 5 Nov 2004 17:32:10 -0800, Frederick C. Lee
<email@hidden> wrote:

>         Question: How can I programmatically adjust the two views so the user
> can actually see sub-view#1?

Take a look at -[NSSplitView adjustSubviews].

Now that you've looked at it, call -[NSView
resizeSubviewsWithOldSize:] instead.  This will call -[NSSplitView
adjustSubviews] in the usual case, but will use the delegate method
-[<delegate> splitView:resizeSubviewsWithOldSize:] should it exist.

-Ken
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Resizing subviews within NSSplitView programmatically (From: "Frederick C. Lee" <email@hidden>)

  • Prev by Date: Re: Regex pattern to find URLs
  • Next by Date: AppleEvents in Foundation tool (not working)
  • Previous by thread: Resizing subviews within NSSplitView programmatically
  • Next by thread: Book about creating Cocoa widgets
  • Index(es):
    • Date
    • Thread