Re: How to get NSPathControl to resize programatically?
Re: How to get NSPathControl to resize programatically?
- Subject: Re: How to get NSPathControl to resize programatically?
- From: Robert Monaghan <email@hidden>
- Date: Tue, 9 Mar 2010 12:57:21 -0800
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 element of that path is longer
>> or shorter than the original path,
>> I would need to have NSPathControl redraw itself..
>
> Did you try "sizeToFit"?
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
>
>
_______________________________________________
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