Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    [solved]MessageDialog looks different compared to rest of GUI

    QML and Qt Quick
    2
    2
    533
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Q
      qmlLearner last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • R
        Roumed last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post