Re: [Interest] change of only one tab in QTabWidget

2013-05-18 Thread Tony Rietwyk
-project.org Subject: [Interest] change of only one tab in QTabWidget How can I change the width of only one tab in QTabWidget?. With the below code all tabs width is changing. setStyleSheet( "QTabBar::tab { width: 25px; height: " + QString::number(eachTabHeight) + "px; }"

[Interest] change of only one tab in QTabWidget

2013-05-17 Thread Sujan Dasmahapatra
How can I change the width of only one tab in QTabWidget?. With the below code all tabs width is changing. setStyleSheet( "QTabBar::tab { width: 25px; height: " + QString::number(eachTabHeight) + "px; }" ); I want to change the width of one particular tab say for index 2. Please let me know if it's