Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.5, 5.2.0
-
None
-
8e9d78e43ef6dd7a6fc3be8874fc518db8537c91 (qtbase/5.4, 4.12.2014, 5.4.1)
Description
Set a corner wodget to QMenuBar with:
setCornerWidget(new QLabel("This is a corner widget: "), Qt::TopLeftCorner);
Then add several menus to QMenuBar.
--> QMenuBar will preserve the same amount of space to the right corner what is reserved to left corner widget. If corner widget is set to qt::TopRightCorner, then spacing is correct.