Important: Please read the Qt Code of Conduct -

Qt Designer and automatic window size

  • I am using Qt Designer to create dialog windows for my application. Whenever I (or other people) edit the .ui files on different platforms with different styles, Qt Designer updates the window geometry. This create noise in commits and the default window size may become too big for some styles.

    Is there a way to make sure my dialog (or any top-level widget) created in Qt Designer uses the minimum size allowed by its layouts instead of storing a default size?

Log in to reply