Hi,
I try the TreeView control and I have a vertical-align problem with expand-image.
Exemple :
<ig1:WebDataTree ID="Tree" runat="server" DataSourceID="XmlData"><ItemTemplate><span><%# DataBinder.Eval(Container.DataItem, "Value")%></span></ItemTemplate></ig1:WebDataTree>
below, the "-" or "+" is not in the middle of text
I try to use style like vertical-align, text-align, padding or marging witheout good result.
How can i resolve this problem ?
Thank you in advance for your help
Did you try CSS? Put a class on the item and then do something like
.className {vertical-align:middle;}
(totally untested, but hopefully it points you in the right direction)
Hi SBGG,
It has been some time since your post, however in case you still need assistance I would be glad to help.
In this scenario I would suggest that you check what value is applied for line-height by the igdt_Node CSS class. Setting this to a large value may cause the look which you have described.
Please feel free to contact me if you have any questions.