树视图中的节点文本变为粗体时会被截断 [英] text of node in treeview gets truncated when it is made bold

查看:53
本文介绍了树视图中的节点文本变为粗体时会被截断的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在选择树形节点时增加了字体大小,但是我只能查看树形节点文本的一半.也就是说,只有节点文本的一半处于选中状态.树视图中的节点文本变为粗体时会被截断.我该如何纠正.

在Advance

I''m increasing the font size of a treenode on its selection, but I could view only half of the tree node''s text. ie only half of the text of node is in selection. text of node in treeview gets truncated when it is made bold how do I rectify this.

Thanks in Advance

推荐答案

中感谢,在treeView控件中填充treeNodes后,尝试treeView.backcolor = empty
after populating your treeNodes in the treeView control try treeView.backcolor = empty


这篇关于树视图中的节点文本变为粗体时会被截断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆