[solved] Removing of WindowMaximizeButtonHint makes the window non-resizable? (Qt 5, Mac)
-
Removing of WindowMaximizeButtonHint in Qt5.2.0 (was ok in Qt4) makes window/dialog non resizable on Mac. 10.9.1. Is that normal or is it a bug? Is there any workaround?
Thanks.
-
Hi,
What exact version of Qt are you using on which version of OS X ?
-
5.2, 10.9.1
-
Can you provide a minimal sample that reproduces this ?
-
It's called windowflags sample, default sample that comes with Qt
examples/widgets/widgets/windowflags -
Looking at the sources, it looks like It's normal.
You can use the code shown "here":http://qt-project.org/forums/viewthread/27728 to adjust the flags of your widget exactly the way you want it
-
Thank you, looks promising
-
If this solves your problem, don't forget to update the thread title prepending [solved] so other forum users may know a solution as been found :)
-
Done. Seems like Qt5 changed this behaviour to match Mac policy about it.
-
AFAIK yes, that's the goal