We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I am instantiating an object of QtMaterialDialog class, the overlay gets incorrectly positioned and resized. I do it this way:
// Show Preferences QtMaterialDialog* prefs = new QtMaterialDialog(this); // Adding child objects and stuff . . . prefs->setWindowLayout(dialogLayout); prefs->show(); prefs->showDialog();
The possible solution is to call setGeometry(overlayGeometry()) in the constructor of QtMaterialOverlayWidget:
setGeometry(overlayGeometry())
QtMaterialOverlayWidget::QtMaterialOverlayWidget(QWidget *parent) : QWidget(parent) { if (parent) { parent->installEventFilter(this); setGeometry(overlayGeometry() ); } }
The old version of QtMaterialOverlayWidget's constructor was:
QtMaterialOverlayWidget::QtMaterialOverlayWidget(QWidget *parent) : QWidget(parent) { if (parent) { parent->installEventFilter(this); } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I am instantiating an object of QtMaterialDialog class, the overlay gets incorrectly positioned and resized. I do it this way:
The possible solution is to call
setGeometry(overlayGeometry())
in the constructor of QtMaterialOverlayWidget:The old version of QtMaterialOverlayWidget's constructor was:
The text was updated successfully, but these errors were encountered: