QTabWidget tabPosition west and text alignment horizontal
-
Hi All,
I have one query regarding QtabWidget.
In QTabWidget if tab position is west then text is align to vertical. i want to text to be align in horizontal if tab position is west.I have used QTabWidget in my code. and tab position is west and i want to align text in horizontal.
Can you please give me some example with code or give some useful link.
Thanks,
Neel -
I have reimplemented the paintEvent of QTabBar then i am able to change the text alignment to horizontal.
But another question i also want to add space between two tabs which configurable property. i have added space by drawControl method in painting but when i add space then after that size of the tab decrease. what is the reason ?