ie treeview images problem ...

  • Thread starter Thread starter Andrew
  • Start date Start date
A

Andrew

hi,
i try to use the i.e. treeview download from asp.net , but i have got
a very huge problem ...
i've some nodes that present text on two lines and so the size of the
node is higher that the default 20px .... the result is that i have space
between images of my tree ... for example between the t.gif images....
i try to replace the t.gif with an image of 30 px height but the result
is a stretched image ....
what can i do ??? suggestion ? ideas ?
thanks much
andrew
 
i found a solution ...
i need to modify the size of the element in the file treeview.htc ....
like this

//junctionNode = element.document.createElement("<IMG
align='absmiddle' border='0' class='icon' name='junction'>");
junctionNode = element.document.createElement("<IMG
align='absmiddle' border='0' height='28px' name='junction'>");
junctionNode.src = imageSrc;
junctionNode.height = 28;

then i've modified the iamges in the treeimages folder ...
thanks
andrew
 
Back
Top