Reputation: 2935
Suppose i have some widget
in qt designer
,i need to stable their size , it means i want to disable resizable feature
. how i do it?
Upvotes: 1
Views: 68
Reputation: 2522
if set to maximum, it will at least allow to make the dialog smaller.
would be one way, the other is inside your code using:
setWindowFlags(windowFlags() | Qt::MSWindowsFixedSizeDialogHint);
soo long zai
Upvotes: 1
Reputation: 351
in qt designer
, right click
on your dialog, select
size constraints > set maximum size and set minimum size
Upvotes: 1