Re: How to get NSPathControl to resize programatically? (Solved..)

2010-03-10 Thread Robert Monaghan
I figured out how to get the NSPathControl to resize after changing an NSPathComponentCell URL. I realize that the description I gave is vague, so here is a better explanation.. I am changing the URL of a NSPathComponent in the middle of NSPathControl's overall URL. By making the change, I was

How to get NSPathControl to resize programatically?

2010-03-09 Thread Robert Monaghan
Hi Everyone, I am changing the NSURL of a path, that drives NSPathControl. If I edit the path so that the new text element of that path is longer or shorter than the original path, I would need to have NSPathControl redraw itself.. Here is an example of what I am doing: (myPathControl is a

Re: How to get NSPathControl to resize programatically?

2010-03-09 Thread Sean McBride
On Tue, 9 Mar 2010 12:26:14 -0800, Robert Monaghan said: I am changing the NSURL of a path, that drives NSPathControl. If I edit the path so that the new text element of that path is longer or shorter than the original path, I would need to have NSPathControl redraw itself.. Did you try

Re: How to get NSPathControl to resize programatically?

2010-03-09 Thread Robert Monaghan
Yeah, I did.. that didn't work either. Tried: [myPathControl sizeToFit]; bob. On Mar 9, 2010, at 12:33 PM, Sean McBride wrote: On Tue, 9 Mar 2010 12:26:14 -0800, Robert Monaghan said: I am changing the NSURL of a path, that drives NSPathControl. If I edit the path so that the new text