nikita
7th September 2006, 12:05
i'm trying to change the size of the tab in a QTabBar, however this does nothing:
class tbA: public QTabBar
{
public:
tbA(QWidget *p=0) : QTabBar(p)
{
for (int i = 0; i < tbA::count(); ++i)
tbA::tabSizeHint(i).setWidth(15);
}
};
am i missing something? thanks.
class tbA: public QTabBar
{
public:
tbA(QWidget *p=0) : QTabBar(p)
{
for (int i = 0; i < tbA::count(); ++i)
tbA::tabSizeHint(i).setWidth(15);
}
};
am i missing something? thanks.