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
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
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
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