开发者

SWT Tree: draw line from label to the right side

I'm working on a similar开发者_运维百科 application like the figure in this question: SWT tree > move the verticle scrollbar to the left of the tree without changing the orientation I don't know how to draw the connection lines like the figure. My naive solution is that I add a lot of "-" to the label and it ends up like this picture: http://i.imgur.com/hCLGL.png!

Moreover, I want to add the dotted line to indicate the child-parent relationship. Here is a similar question http://www.eclipsezone.com/eclipse/forums/t82430.html but with no solution.


Here is a solution to the above question: http://www.eclipse.org/articles/article.php?file=Article-CustomDrawingTableAndTreeItems/index.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜