mstegehu
30th May 2011, 14:59
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
QTabBar::tab#m_calibrationTabWidget
{
width: 200px;
background-color: red;
}
QTabBar#m_calibrationTabWidget::tab
{
width: 200px;
background-color: red;
}
Regards,
Marcel
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
QTabBar::tab#m_calibrationTabWidget
{
width: 200px;
background-color: red;
}
QTabBar#m_calibrationTabWidget::tab
{
width: 200px;
background-color: red;
}
Regards,
Marcel