Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hello,
I would like to change the size of my tabs in my tabWidget. I read something like this:
@tabWidget->setStyleSheet( "color:black;" "QTabBar::tab { height: 5px; width: 200px; }" );@ but that does not work. What am I doing wrong?
Use the following @tabWidget.setStyleSheet("QTabBar::tab { color:black; height: 50px; width: 100px; }");@
It works, thank you! Out of curiosity, why does "color:black" have to be inside the QTabBar::tab brackets?
Thanks!
If you put it breaks the stylesheet syntax. Hence you need to put the right CSS syntax.