On Dec 1, 12:53 pm, disya2 <[email protected]> wrote:
> Hi,
>
> I found that when I call
>    chrome.browserAction.setBadgeText({text: "111"});
> it shows "111", however in case
>    chrome.browserAction.setBadgeText({text: "foo"});
> it doesn't show anything.
> Also
>    chrome.browserAction.setBadgeText({text: "fo"});
> works.
> Is this a bag or by design?
> Docs 
> herehttp://code.google.com/chrome/extensions/browserAction.html#method-se...
> say that "only about four can fit in the space." I managed to use only
> two letters and three digits.
>
> Is there a way to predict somehow if the text fits? Why "foo" and
> "111" different? Maybe there is a way to set custom font for badge?
>
> Thanks,
> Denis

I also have this problem. May be it's because of UTF-8 encoding?

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to