stylesheet code for width of a TabBar of a QTabWidget
Hello,
Is it possible to change the width of specific tabs of a QTabBar of a QTabWidget?
I tried this but thats seems not to work:
m_calibrationTabWidget is the objectName of a QTabWidget
Code:
QTabBar::tab#m_calibrationTabWidget {
width: 200px;
background-color: red;
}
QTabBar#m_calibrationTabWidget::tab {
width: 200px;
background-color: red;
}
Regards,
Marcel
Re: stylesheet code for width of a TabBar of a QTabWidget
Could this work?
QTabBar:section
{
....