css - XUL tabbox tab label height -
I've created a tabbox using the following code (a screenshot is attached).
How do I set the tab size bigger so that the padding around the label is done?
& lt; Tabboxes & gt; & Lt; Tab & gt; & Lt; Tab label = "a label" & gt; & Lt; / Tab & gt; & Lt; / Tab & gt; & Lt; Tabpanels & gt; & Lt; Button & gt; & Lt; / Tabpanels & gt; & Lt; / Tabbox & gt;
I have tried the following CSS:
tab, tab, tab box {height: 2em; Line-height: 20px; Padding: 10px; Margins: 10px; }
Although nothing has changed, I have also tried to replace the label attribute with a label label element and a child's description element, though it also proves to be futile .
Suggestions?
Edit for search: unable to change styles in XUL elements on Mac OS X
< P> This is an OSX thing, which you can override something like this:
& lt; Tabbox & gt; & Lt; Tab & gt; & Lt; Tab style = "- mosaise-presence: none;" & Gt; & Lt; Label value = "test1" style = "font-size: 20px; padding: 5px;" /> & Lt; / Tab & gt; & Lt; / Tab & gt; & Lt; Tabpanels & gt; & Lt; Button / & gt; & Lt; / Tabpanels & gt; & Lt; / Tabbox & gt;
P>
Comments
Post a Comment