• 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: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching


  • Subject: Re: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching
  • From: j o a r <email@hidden>
  • Date: Fri, 26 Aug 2005 13:51:46 +0200

Hello,

First off, this type of question is probably more suited for the Cocoa-Dev mailing list.

On 26 aug 2005, at 13.20, Sumit Chaudhary wrote:

Hi all ,I am facing some problems in NSSplitview,
Firstly,when I shrinks one window to zero width
Then again expanding it doesn't expands the subviews
inside the box,and if I change the splitter location
and Quit the Application,then again launching should open
the window with my last changed position of splitter
at quit time.How can I implement this and what can I add
to regain the size of subviews when I expand the splitter
after collapsing one box.

1) I don't know what's causing this. Are you sure that the springs and struts are set correctly for the subviews?


<http://developer.apple.com/documentation/Cocoa/Conceptual/DrawViews/ Tasks/MovingResizingViews.html>

2) You need to persist the splitter location and restore it from your split view delegate. Look at NSUserDefaults for a convenient way to store / restore things.

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

This email sent to email@hidden

References: 
 >Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching (From: "Sumit Chaudhary" <email@hidden>)

  • Prev by Date: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching
  • Next by Date: Is Objective-C now a strict superset of C99?
  • Previous by thread: Problem using NSSpliter, not able to Regain the size of Shrink Subviews, and how to get the previous changed Splitter Window on Relaunching
  • Next by thread: Is Objective-C now a strict superset of C99?
  • Index(es):
    • Date
    • Thread