Tree Text Position
Hi,
I added the following code in order to allow a tooltip title to work with the list box:
The code works great except it now seems to put the actual text too low. Normally the tree control visually centers the text in the row. Adding this code it is putting it at the bottom. Its not a problem with most browsers, but Google Chrome is putting it so low that an underscore character can not be seen.
Does anyone know of a little tweak that can set this right? I've tried adding margin/padding to it to compensate but so far it wont move at all.
I added the following code in order to allow a tooltip title to work with the list box:
list.setItemText(function(i){
return "<span class=\"spnListRowTitle\" title=\"" + treeText[i] + "\">" + treeText[i] + "</span>";
});
The code works great except it now seems to put the actual text too low. Normally the tree control visually centers the text in the row. Adding this code it is putting it at the bottom. Its not a problem with most browsers, but Google Chrome is putting it so low that an underscore character can not be seen.
Does anyone know of a little tweak that can set this right? I've tried adding margin/padding to it to compensate but so far it wont move at all.
AT
January 25,