You can always pad the text with spaces to get an approximate result.
Tony. From: interest-bounces+tony=rightsoft.com...@qt-project.org [mailto:interest-bounces+tony=rightsoft.com...@qt-project.org] On Behalf Of Sujan Dasmahapatra Sent: Saturday, 18 May 2013 10:54 AM To: interest@qt-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; }" ); I want to change the width of one particular tab say for index 2. Please let me know if it's possible. Any help is appreciated. -- Thanks & Regards Sujan
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest