开发者

Represent QTabWidget's tab text in Qt StyleSheet file?

How can i set the font size of 开发者_开发知识库the tab text for a QTabWidget , with Qt's StyleSheet file ? I just don't know "what" widget is that

QTabWidget { font: 10pt; } 

wasn't helping.


It's QTabBar.

Have a look at the Customizing QTabWidget and QTabBar docs for info.

This is how to set its font size:

QTabBar::tab { font: 10pt }
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜