New issue
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
Fix missing maximize button for attribute form dialog on Windows #51511
Fix missing maximize button for attribute form dialog on Windows #51511
Conversation
On windows, the attribute form dialog misses the maximize button which can be very useful with large custom forms. I've tried all possible combination of flags and even a custom windows API event manager but I couldn't make the maximize button appear when the Qt::Tool flag is set.
I remember having quite the same issue and ending up with quite the same solution. LGTM |
@troopa81 thanks for reviewing! I'll wait a few days to merge, maybe someone knows a better way to fix this. |
How does it behave if "select feature on canvas" from the relation widget or similar features with map canvas interaction are used from within the attribute form? Looking at the doc |
Qt::Dialog is already the default for a QDialog, I suspect that it is the Qt::Popup flag which prevents the maximize button to be shown whatever "hint" flag you set. I will test the various workflows to make sure everything is still working as expected. |
@m-kuhn I tested the last commit with a relation-ref widget with canvas selection and it seems to work just fine. |
Thanks @elpaso |
On windows, the attribute form dialog misses the maximize button which can be very useful with large custom forms.
I've tried all possible combination of flags and even a custom windows API event manager but I couldn't make the maximize button appear when the Qt::Tool flag is set.