开发者

Fuzzy text in NSStatusItem

I'm displaying a statusItem at launch like this:

theItem = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSVariableStatusItemLength] retain];

 NSString *theString = [textField stringValue];
 (textField.stringValue = theString);

    [theItem setTitle:theString];
    [theItem setHighlightMode:YES];

The text looks very fuzzy. How can I clean up the look of the text?

Thanks.

Paul

Here's a screenshot with the digital menu bar clock on top, and NSStatusItem t开发者_如何学JAVAitle on bottom:

Fuzzy text in NSStatusItem


Have you tried drawing the text into an image and using that image in the NSStatusItem?


Looks rather fine to me.

Fuzzy text in NSStatusItem

Okay, not "perfect" but it's more about uneven scaling than "fuzziness." Is this what you're seeing too?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜