What style do you use? You also can modify your style which is maybe easier by reacting on QStyle::PE_PanelToolBar. See also QProxyStyle.
I'm dumb. Forgot all about stylesheets. So I finally went and used this:. Works great.Qt Code:
tb->setStyleSheet("QToolBar { border: 0px }");To copy to clipboard, switch view to plain text mode
Ok, I misunderstand your fist question, because I thought you don't want to use style sheets.![]()
Yes, I was pretty confused myself. I thought you could only change the look of a widget by subclassing QStyle.
Bookmarks