Describe the bug
The overlay buttons do not appear within the Ribbon.
To Reproduce
Steps to reproduce the behavior:
- Toggle the layout mode
- Check the Ribbon's overlay buttons. They appear below the Ribbon.
The height of the Ribbon doubles to accommodate the buttons.
Expected behavior
The overlay buttons should appear within the height of the Ribbon, as shown in the screenshot below.
Screenshots

Please complete the following information:
- OS: [e.g. iOS]
- FreeCAD information:
Go to "Help->About ...-> About FreeCAD". Click on "Copy to clipboard" and past here.
- Ribbon information (Develop version only):
Go to "Help->About ...->About Ribbon UI". Click on "Copy to clipboard" and past here.
- Export your layout, zip it and add it to your issue by dragging it or use the button below.
Additional context
Add any other context about the problem here. Like settings that you have changed or settings that are related to the issue. For example, icon sizes, text enabled, etc.
Describe the bug
The overlay buttons do not appear within the Ribbon.
To Reproduce
Steps to reproduce the behavior:
The height of the Ribbon doubles to accommodate the buttons.
Expected behavior
The overlay buttons should appear within the height of the Ribbon, as shown in the screenshot below.
Screenshots

Please complete the following information:
Go to "Help->About ...-> About FreeCAD". Click on "Copy to clipboard" and past here.
Go to "Help->About ...->About Ribbon UI". Click on "Copy to clipboard" and past here.
Additional context
Add any other context about the problem here. Like settings that you have changed or settings that are related to the issue. For example, icon sizes, text enabled, etc.