How can set tab width size on each tab?
-
I make tabwidget and put image each tabs.
Tab width doesn't fit icon size.
Icon size also change size.
That's my blog site. I upload code and compile window. -
Did you try setIconSize(...) ?
-
Thank you .. I make code like this.
Draw well.QSize tabSizeHint(int index) const { QSize m_size; if( index==0) { m_size= QSize(94,50); } else if(index==1) { m_size= QSize(113,50); } return m_size; }