Set font-size for QTabBar tab.

61 views
Skip to first unread message

namno nonama

unread,
Nov 23, 2020, 2:04:09 PM11/23/20
to liteide-dev
Hi!
I'm trying to set font-size for QTabBar::tab.
For example if i set font-size 16px then text cant fit in tab bar.
Here is screen shot:
https://pastenow.ru/8c36345810820ee1d6239cf5f26f688b

And that is fragment from my custom.qss:
...
QTabBar::tab {
    font-size: 16px; /* cant get this working */
    color: #bbbbbb;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 3px;
    padding-bottom: 3px;*/
}
...

Additional info:
Dist: fedora 30
Liteide version: x37.3
Qt version: 5.12.5 (64 bit)

How can i fix that problem in my custom.qss file?


Thanks in advance.

Reply all
Reply to author
Forward
0 new messages