QTabWidget's border on Windows 7
-
wrote on 23 Oct 2015, 10:43 last edited by
Hello.
I need to make QTabWidget's border to look like QTextEdit's border. QTextEdit has different colors on each side - that is what I want for QTabWidget.
Here is Illustration of the issue.
How can I achieve this?
-
wrote on 23 Oct 2015, 11:20 last edited by
Possible solution - use stylesheet like this one:
QTabWidget::pane { border-left-color: #012345; border-right-color: #012345; border-top-color: #012345; border-bottom-color: #012345; }
But how do I get appropriate colors?
-
wrote on 23 Oct 2015, 12:33 last edited by
Stylesheet could do this.
But a small warning, once you start with many custom stylesheet, it can be pretty hard to keep the change in future OS version (Windows 10, ..) I now prefer to keep the OS style to save developing time, but I was once like you. -
Stylesheet could do this.
But a small warning, once you start with many custom stylesheet, it can be pretty hard to keep the change in future OS version (Windows 10, ..) I now prefer to keep the OS style to save developing time, but I was once like you.