Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Radio Button in Sidebar does not show icon

0 views
Skip to first unread message

unr

unread,
Oct 21, 2006, 2:13:57 PM10/21/06
to
We are finding almost everything works per doc in the extension we are
developing, but when we embed a simple radio button inside an hbox (with our
without an intervening radiogroup) the clickable circle icon does not
appear, only the text. Checkboxes work fine, which is a mystery since they
seem to be closely cognate.

Does anyone have a suggestion why this might be?

unr

unread,
Oct 21, 2006, 3:02:18 PM10/21/06
to
Many widgets work in boilerplate code from simpler sidebars, but to use
radio buttons one must include the browser stylesheet.

<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css" ?>
<!-- needed for e.g.radio button icons -->

Apparently this is not necessary for checkboxes.


"unr" <nos...@nospam.net> wrote in message
news:y_Kdnbc8c4xY_KfY...@mozilla.org...

Nickolay Ponomarev

unread,
Oct 21, 2006, 6:05:30 PM10/21/06
to unr, dev-ext...@lists.mozilla.org
On 10/21/06, unr <nos...@nospam.net> wrote:
> Many widgets work in boilerplate code from simpler sidebars, but to use
> radio buttons one must include the browser stylesheet.
>
> <?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css" ?>
> <!-- needed for e.g.radio button icons -->

Huh, you definitely shouldn't have to include browser.css, just the
global stylesheet. Do you have a testcase?

Nickolay

Philip Chee

unread,
Oct 22, 2006, 3:57:44 AM10/22/06
to

Try adding this to the top of your XML file:

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

--
-==-
Philip Chee <phi...@aleytys.pc.my>, <phili...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]Aural sex produces eargasms.
* TagZilla 0.059

unr

unread,
Oct 22, 2006, 11:52:48 AM10/22/06
to
We stand corrected,

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

also fixes the problem and is evidently the more general solution.

Thank you Nickolay and Philip.


"Nickolay Ponomarev" <asqu...@gmail.com> wrote in message
news:mailman.7761.11614683...@lists.mozilla.org...

0 new messages