How to expand corner widget?
I need to insert corner widget into menu bar, and I want that corner widget to be expanded on all available menu bar area, but full menu always should be visible.
The corner widget and spacer inside has horizontal policy: Expanding
The menuBar has a horizontal policy: Minimum
But result is following:
Is it possible?
The test project code: http://www.codijy.com/4qt/QtTest.zip
From a quick look at QMenBar's implementation, it doesn't seem that you'll be able achieve what you want out of the box. Especially on OS X.
Out of curiosity, what do you want to do with that corner widget ?
I know about OSX, and interface will be a little bit different on Windows and OSX platfom.