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. Odd behaviour of my dialog.

Odd behaviour of my dialog.

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 722 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.
  • G Offline
    G Offline
    gRicky
    wrote on last edited by
    #1

    Hi All,

    Here again with my troubles.....

    This time I'm having an issue with the resizing of a dialog window. I made it setting the policy on fixed style with width and height fixed. I set the layoutSizeConstraint on QLayout::SetFixedSize. And it was running properly.
    Now I have to resize the size of the window because I need to add some controls and objects, using the design tool on Qt I've changed the width and the height of the window and I have kept the previous values on policy and layoutSizeConstraint. On the design of Qt everything appears properly. So, here the issue, when I run the window it sets on its own its previous size. To get the right size of the window I have to change the LayoutSizeConstraint on QLayout::SetDefaultConstraint, but like this the window becomes resizable (and I would like to avoid this behavior) Why am i having this strange behaviour?

    I hope the issue is clear....

    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