Hi,

I am using QStyle on my vertical tabwidget to allign tab texts in horizontal direction:

Qt Code:
  1. if (type == QStyle::CT_TabBarTab)
  2. s.transpose();
To copy to clipboard, switch view to plain text mode 

My problem is that tabbar's scroll arrows are very small. If i had used stylesheet i would solve the problem with :

Qt Code:
  1. tabs->setStyleSheet("QTabBar::scroller { width: 20px; }");
To copy to clipboard, switch view to plain text mode 

But i cannot use stylesheet in QStyle derived class.

How can i both control my tabtext orientation and tabbar's scroll's size.

Thanks in advance..