June 25, 2011

Raketten Raketten
Lab Rat
5 posts

Changing the height of the tabbar in a qtabwidget

 

Hi all,

I am writing an app to be used onb a touchscreen and feel the size of the tabbar in my qtabwidget is too small.

Can you help?

Thanks in advance

2 replies

June 25, 2011

Gerolf Gerolf
Area 51 Engineer
3213 posts

you can use style sheet to achieven this.
Have a look at the doc of the style sheets [doc.qt.nokia.com]

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

June 27, 2011

sigrid sigrid
Lab Rat
144 posts

You can also try using QApplication::setGlobalStrut() [doc.qt.nokia.com]. This sets the minimum size a widget can be, and is helpful when making an application more touch screen friendly.

 
  ‹‹ QMainwindow Qt::Applicationmodal      [SOLVED]Editable combobox that behaves more like a lineedit ››

You must log in to post a reply. Not a member yet? Register here!