摘要: 今天使用Qt的QToolBox时,想通过stylesheet改变标签栏的高度:如下:QToolButton::tab{ color:#EEE; border-style:dashed; border-color:white; border-width:2px; font-size:22px; height:33px; line-height:33px;}可是定义高度height:33px;不起作用.通过使用padding也不起作用,高度没有改变。最后是通过在文本中加入'\n'QToolButon->addItem(groupbox,tr("\n#####\n&q 阅读全文
posted @ 2013-05-02 18:47 justwake 阅读(2542) 评论(0) 推荐(0) 编辑