The size of QPushButton breaks layout height (MacOS)
Lets consider situation with QFormLayout. For example need to add button to the layout row:
As you see the height of layout with button is bigger than height of other rows. This is because the own height of the button is bigger than height of the line editor - there is empty space around the button:
In result all layouts with QPushButton becomes broken. Even in standard dialogs (QMessageBox) there are big margins around buttons in the bottom of the window.
As I know this issue is relevant only for MacOs.
What version of OS X are you running ? Also which version of Qt are you using ?