PDA

View Full Version : changing the size of the tab width: QTabWidget



nikita
29th August 2006, 02:09
hi,
what i would like is to have the tab width of all the tabs be equal, please refer to the left hand side of the image below. i'm not sure if it's a QStyle thing, or whatever. if it is, i'm not that sure about adjusting pixmaps and such, nor how to code it correctly<still new to gui terms and meanings>. again i'd appreciate any help. thanks.

munna
29th August 2006, 06:21
Reimplement QTabBar::sizeHint(int index) and set this as the tab bar in you QTabWidget

gfunk
29th August 2006, 09:31
Just wanted to say that that is a good looking app! :cool: