Remove Boundary Lines from QFrame & QTabWidget

Please refer to the attached image to understand the problem. In the image you can see how I can remove the boundary lines or set their color to the color of QDialog. Thanks.

Image showing lines

+7
source share
2 answers

Try setting a QTabWidget stylesheet with a border of 0.

So for example:

tabwidget.setStyleSheet("QTabWidget::pane { border: 0; }"); 
+9
source

using qt-designer, click on the frame, go to the style sheet properties type: 0

-2
source

All Articles