Home > Software engineering >  Qt Designer: How to lock window size?
Qt Designer: How to lock window size?

Time:02-10

So Qt Designer has this feature where you can resize the window you're working on. And that's fine and dandy, but every now and then, I accidentally drag it, and the window gets larger or smaller than I wanted it to be. The undo action doesn't undo the resizing, so that's a bummer. Also setting max and min sizes for the central widget doesn't do anything to fix this issue.

Is there a way I can have the window size locked?

Here's a demo: demo

CodePudding user response:

  •  Tags:  
  • Related