3.0.5

change font-size for tree items

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

Thanks.
Igor K.
September 19,
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)
September 19,
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.
September 20,
Question closed.
It works without CSS -
obj.getItemTemplate(m).setStyle('font-size', 15);

I guess conflict in CSS.

Thanks, Alex.

Igor K.
September 21,

This topic is archived.

See also:


Back to support forum