Re: strange NSTextView problem
Re: strange NSTextView problem
- Subject: Re: strange NSTextView problem
- From: Rick Corteza <email@hidden>
- Date: Sun, 17 Jul 2011 20:37:53 +0800
Thanks again for the help. Ok I have tried everything with no success. So
the nib files show no difference, the rich text is enabled, and I wasn't
able to overcome the text displaying issue with setNeedsDisplay. I have a
feeling it might have to do with the 10.6 sdk. I've had this project for
more than 2 years so I'm sure I had no issues before. But it was originally
developed with 10.5 sdk and a few months ago I switched it over to 10.6.
It's white text on an HUD panel but now built on my new SL partition the
white text appears different, a bit like the old QuickTime HUD vs the new
QuickTime X. Since I have changed nothing I think at this point I'm going
to assume the text just appears a bit different with the 10.6 sdk and live
with it. Who knows maybe it's for the better? :-
Thanks for taking the time to assist me it's much appreciated,
rc
On Sun, Jul 17, 2011 at 7:16 PM, Andy Lee <email@hidden> wrote:
> On Jul 17, 2011, at 3:45 AM, Rick Corteza wrote:
> > And unfortunately my "solution" of setting the alpha
> > value is not without issue, the text will only display properly after I
> > scroll just a little. But when the panel is opened without touching it
> > doesn't display properly.
>
> Maybe you can work around this with a call to setNeedsDisplay: or display.
>
> Dumb question: are you sure you don't have this same issue in your original
> code? If you scroll a little, does that "fix" the text attributes in the
> original case?
>
> --Andy
>
>
_______________________________________________
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