Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to fit the content size in QDialog
QtWS25 Last Chance

How to fit the content size in QDialog

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 2.0k Views
  • 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 Offline
    Q Offline
    Qt Enthusiast
    wrote on last edited by Qt Enthusiast
    #1

    Hi All
    I tried adustSize of QDialog but Still my title of QDialog does not fit . What is way to fit the all the contents of QDialog in or is there any way I can just set the width of QDialog , QDilaog Minimum Width is also not working

    joeQJ 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean the window title ?

      Also, which size is it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        Qt Enthusiast
        wrote on last edited by
        #3

        23 characters

        1 Reply Last reply
        0
        • Q Qt Enthusiast

          Hi All
          I tried adustSize of QDialog but Still my title of QDialog does not fit . What is way to fit the all the contents of QDialog in or is there any way I can just set the width of QDialog , QDilaog Minimum Width is also not working

          joeQJ Offline
          joeQJ Offline
          joeQ
          wrote on last edited by
          #4

          @Qt-Enthusiast Hi friend. Maybe you can share some code or picture at here. and You will get the answer quickly. From you said, I didn't clear what you want.

          Just do it!

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            Qt Enthusiast
            wrote on last edited by
            #5

            http://paste.ofcode.org/QLeJWwGp9fqta5XnLJxS6y

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              What OS are you on ? Which version of Qt are you using ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                Qt Enthusiast
                wrote on last edited by
                #7

                Qt 4.3.3 and linux red hat 5

                jsulmJ 1 Reply Last reply
                0
                • Q Qt Enthusiast

                  Qt 4.3.3 and linux red hat 5

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Qt-Enthusiast Why such an ancient software?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    Qt Enthusiast
                    wrote on last edited by
                    #9

                    I dont have answer for that . it is not in my hands

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Can you post an image of what you are getting currently with that code ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved