Login Register

Tree Styling : icons , labels and css

Hello.

I'm having some issues with dojo 1.1.1 tree.
I want to perform some styling on dojo tree, and i wonder why , when i want to change the tree icon size, i need to declare the icon class as :

.tundra .myTreeIconClass {
height: 32px;
width: 32px;
}

I don't know where i should report it , but i see this as a defect, since you have to write another css class for each theme.

I also wanted to know it there is a way to add some node-specific style (i mean , a css style and not a class). I did not see any API for doing that, may it be possible to add extension points ? What would be great would be to have functions like "getLabelStyles" and "getIconStyles", as it was done for grid cells.

Thank you.

Ronan Dunklau