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.
Asked
Active
Viewed 1.5k times
3 Answers
25
Try setting the QTabWidget Stylesheet to have 0 border.
So for instance:
tabwidget.setStyleSheet("QTabWidget::pane { border: 0; }");

HostileFork says dont trust SE
- 32,904
- 11
- 98
- 167

BrunoPT
- 351
- 3
- 5
-
Must have did an hour of different settings with no results. Thank you!! – Green Cell Feb 27 '19 at 07:20
1
using qt designer, click on the frame, go to property name stylesheet type border:0

Alia Ramli Ramli
- 405
- 6
- 18
-
2Generally, answers are much more helpful if they include an explanation of what the code is intended to do, and why that solves the problem without introducing others – Bhavesh Odedra Mar 22 '16 at 07:18