Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove border lines from QFrame & QTabWidget

Tags:

qt

qtabwidget

Please have a look at the attached image to understand the problem. In the image you can see, how can I remove the border lines or set their color to the QDialog color. Thanks.

Image showing lines

like image 258
Farrukh Arshad Avatar asked Mar 23 '13 10:03

Farrukh Arshad


2 Answers

Try setting the QTabWidget Stylesheet to have 0 border.

So for instance:

tabwidget.setStyleSheet("QTabWidget::pane { border: 0; }");
like image 61
BrunoPT Avatar answered Nov 02 '22 15:11

BrunoPT


using qt designer, click on the frame, go to property name stylesheet type border:0

like image 31
Alia Ramli Ramli Avatar answered Nov 02 '22 17:11

Alia Ramli Ramli