PDA

View Full Version : TreeGrid recursively size font in CSS



Pandaman
23 Jul 2009, 3:53 PM
I want to style my TreeGrid such that if a parent div's font-size increases by .5em, all of the TreeGrid components' font size increase within their factor of that .5em. So far, I have called setStyleName("default-font") on the following items:

Labels produced by the cell renderer
the treeGrid itself
the treeGrid's columnconfigs (well I called setStyle("font-size:1em") on these because there was no setStyleName for it)


where in my CSS document I define


default-font {
font-size:1em;
}I cannot find anything else in the TreeGrid object that I can call setStyleName on...

Pandaman
4 Aug 2009, 2:30 PM
This post reflects my CSS imcompetence at the time...
I ended using firebug and figuring out what CSS classes needed to include font-size: 1em and added entries to my CSS file manually for each of these.