Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.9.2
-
None
-
mac 10.13.1
xcode 9.1
Qt 5.9.2
Description
I have a dialog where I'm setting WA_MacSmallSize. If I open a message box, child of this dialog, the buttons there are small but the shadow is big.
To repro (I've added the workaround to not set a parent for the message box)
#include <QApplication> #include <QWidget> #include <QMessageBox> int main(int argc, char **argv) { QApplication app(argc, argv); QWidget main; main.setAttribute(Qt::WA_MacSmallSize); main.show(); QMessageBox::information( &main, QCoreApplication::applicationName(), "wrong"); QMessageBox::information( nullptr, QCoreApplication::applicationName(), "right"); return app.exec(); }