:: Forum >>

change font-size for tree items

Hi,
How can I change the height (font-size) of the tree items with CSS ?

Thanks.
Igor K.
Wednesday, September 19, 2007
Use aw-item-template class:

#myTree .aw-item-template {
    height: 30px;
    font-size: 20px;
}


#myTree .aw-tree-sign {
    font-size: 1px; /* corrects vertical position */
}
Alex (ActiveWidgets)
Wednesday, September 19, 2007
Hi, Alex!
Thanks.

Line font-size: 20px; don't change the font-size of the tree items for Tree with checkboxes and for Tree without checkboxes. Why?
I use activewidgets-2.0.2-trial.
Igor K.
Thursday, September 20, 2007
Question closed.
It works without CSS - obj.getItemTemplate(m).setStyle('font-size', 15);
I guess conflict in CSS.

Thanks, Alex.

Igor K.
Friday, September 21, 2007

This topic is archived.


Back to support forum

Forum search