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 here
http://code.google.com/chrome/extensions/browserAction.html#method-setBadgeText
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

--

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