I think you're setting the font size in the wrong css classes. This is
where you should be specifying the font size for the text in the tabs:
.gwt-DecoratedTabBar .tabMiddleCenter { center of the tab, where the
tab text or widget resides }
The other classes apply style to parts of the tab bar where normally
there isn't any text, that's why you're not seeing any differences
whith your modifications. Take a look at the Showcase for styling of
tabPanel:
http://gwt.google.com/samples/Showcase/Showcase.html#CwTabPanel
The only css rule that specifies font rules is the one I pointed to:
.gwt-DecoratedTabBar .tabMiddleCenter {
padding: 0px 4px 2px 4px;
cursor: pointer;
cursor: hand;
color: black;
font-weight: bold;
text-align: center;
background: #d0e4f6;
}
Hope that helps,
Salvador
On 15 mai, 03:51, Alyxandor <[email protected]> wrote:
> Use em units {0.5 em}...
> Percent can sometimes be wonky if your DecoratedTabPanel is the child
> of an object with font-size set in px or pt.
> A quick google shows:
>
> http://www.thesug.org/Blogs/kyles/archive/2009/04/17/CSS_FontSize_em_...
>
> If this doesn't work, just inspect your table in Firefox + Firebug,
> and check all of it's parent element's font-sizes.
>
> If you still can't get it, post a condensed outline of your dom
> structure, with font-size styles included.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---