When text needs to wrap within a tree view it is leaving empty space next to the node image and putting the text on the next line...e.g.
[img] Parent Node [img] Child Node [img] Child Node [img] Child Node with very long text that woul cause wrapping.This doesn't present very well and is the result of placing the TreeView within any container that constrains the width of the tree (e.g. Div with overflow:auto).
This could be resolved if Telerik would put the <span> tag inside the <div> tag that contains the image instead of outside it...here is the code you generate today:
<div class="rtBot" style="border: 0px none black;"><div class="rtAux"><img class="rtImg"
src="/mx/images/minicons/folder_images.gif" alt=""/>
</div>
<span class="rtIn">Child Node with very long
text that would cause wrapping.</span>
</div>
Here is the code that would act properly:
<div class="rtBot" style="border: 0px none black;"> <div class="rtAux"><img class="rtImg"
src="/mx/images/minicons/folder_images.gif" alt=""/>
<span class="rtIn">Child Node with very long text
that would cause wrapping.</span> </div> </div>
.rtImg and rtIn are both defined with float: left so the resulting presentation would be:
[img] Parent Node...which at least in my opinion is more aesthetically pleasing and is the generally expected behavior of a tree view when wrapping is required.
[img] Child Node
[img] Child Node
[img] Child Node with very long text that would
cause wrapping.
Thanks for your time and consideration of the matter.
