Important: Please read the Qt Code of Conduct -

MessageDialog: how to resize ?

  • Hi guys!

    Is it possible to change geometry of MessageDialog on Windows? In particular what I'd like to get - is adjusting width of the dialog box to content AND title width. I didn't find anything useful in documented API but probably there are some less documented tricks.

    Also as I understand Qt has something like 'DefaultMessageDialog' which is purely QML-based and should be shown if no native dialog exists on the platform. Can I force this dialog to be shown on Windows?

Log in to reply