Important: Please read the Qt Code of Conduct -

[solved]MessageDialog looks different compared to rest of GUI

  • Hey!

    I recently discovered the nice MessageDialog and was playing around with it.
    Two things that I was not able to figure out:

    • How can I assign a fixed size to it? I don't the width/height to be changeable by the mouse.
    • The look is quite different compared to the rest of the other windows (buttons look gtk-like and the bold font doesn't look that crisp; see screenshot below). How can I make it look like the rest?

    ! messagedialog)!

    Thank you for your hints!

  • You can't.
    This component is built in plugin and don't use any resources of platform.
    You can define your own dialog or use QDialog at C++ side.

    Good luck.

Log in to reply