Hello,
I use HTML to display the node text in the DBTreeView (the HTML is calculated for every node). The HTML is generated more or less like this:
vHtml = '';
vHtml += '<html>'
vHtml += '<head>'
vHtml += '<style type="text/css">'
vHtml += ''
vHtml += '</style>'
vHtml += '</head>'
vHtml += '<body>'
vHtml += '<span class="style2">' + bezeichnung + '</span>'
vHtml += '</body>'
vHtml += '</html>'
In Servoy 3.1 this works great. In 3.5 the single row gets very wide. That means, if you select a node you get a highlighted area that spans across almost the whole screen, resulting in unnecessary scrollbars etc.
Can this be fixed?
Thanks
Patrick
P.S.: It appears that the creates the problem. But in 3.1 there is no problem.
Have you created a case for this in the Support system?
Paul
hi to all,
this issue has been fixed in version 3.5.1
patrick
September 3, 2007, 10:20am
4
Hello Gabi,
could you post that new version to the beta downloads so I can look at it and use it?
Thanks
Patrick
Hi Patrick,
here you can download the dbtreeview plugin for testing :
http://www.servoy.com/downloads/beta/35 … eeview.jar
regards
patrick
September 3, 2007, 3:43pm
7
Hello Gabi,
this issue is not fixed. The highlighting “block” gets still very wide…
Thanks
Patrick
patrick
September 3, 2007, 3:44pm
8
btw: the HTML I am testing with now doesn’t have any span in it…
patrick
September 3, 2007, 3:51pm
9
I have made a sample and sent to you (as message in the forum)…