Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/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?

    !http://oi60.tinypic.com/2ms3i91.jpg(screenshot 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