Qt World Summit: Submit your Presentation

Odd QDialog positioning on Windows

  • Hi,

    I'm currently building an application in Qt and have ran into a strange issue with windows and QDialogs. Upon opening it should look like this, http://imgur.com/RaO0R , with the dialog being a bit smaller than the parent window. But for certain dialogs, they appear too big, like this http://imgur.com/EpRGe . The problem is that for certain users the dialog close controls appear above the border of the screen and they can't close them. The only area that changes size and becomes too big is the scroll area at the bottom. Another interesting part is that the instant you drag the dialog, it changes to its normal size. I should also mention the size is being set with fixedSize. Any help would be greatly appreciated.


    Edit: Fixed links. Punctuation was getting tacked onto the URL; mlong

  • Please provide a compiling & working program showcasing the issue.

Log in to reply