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. Resize dialog Solved
Forum Updated to NodeBB v4.3 + New Features

Resize dialog Solved

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 2.2k Views 1 Watching
  • 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.
  • B Offline
    B Offline
    benjiii
    wrote on last edited by
    #1

    Hi

    In my application i have created a Dialog of size 400X300.After running it .
    I have changed the dialog size to 200X100.
    But after running the application I am getting the dialog size as 400X300.
    I have cleaned and Rebuild the application.

    I don't know how to fix it.Please healp

    thanks

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      check minimimSize of the dialog in property editor. or

      You must be calling setMinimumSize(400,300) somewhere

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vezprog
        wrote on last edited by
        #3

        you could be setting a minimum size in your code like sam said but I have had the issue of the ui not updating as well on runtime.

        Are you building dynamically? Are you using shadow builds? or are you building the file right in the same directory as the project. This is where my issues arose originally.

        Or you could try to compile your ui manually using the Qt command prompt located in the SDK to test it...type this in the command prompt...
        cd your/project/directory
        uic uifile.ui > ui_uifile.h

        replace uifile with the name of the .ui file your wanting to manually recompile and the corresponding header .h

        1 Reply Last reply
        0
        • B Offline
          B Offline
          benjiii
          wrote on last edited by
          #4

          Hi dvez43

          Issue solved after manually compiling ui file.

          thanks

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sam
            wrote on last edited by
            #5

            Kindly edit your first post and set the title as [Solved].

            Thanks.

            1 Reply Last reply
            0

            • Login

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