Make fixed the size of my dialog box
-
how can I make my Q dialog box size fixed
-
call "setFixedSize() ":/doc/qt-4.8/qwidget.html#setFixedSize
-
you can write
@yourDialog->setFixedSize(300, 300);@
Edit: Sorry for double reply. I got late to click on post reply.
-
hi, I used it like
TnFSimulatorAssetCategoryEditorDlg->setFixedSize(int w. int h);
but It gives the following error..
1.expec ted primary expression before 'int' -
Post Updated Check Again.
@yourDialog->setFixedSize(int w, int h);@
where w means width of type integer
and h means height of type integer.so as per your requirement you can set the values.
-
Sorry for bothering I've fixed the problem
-
Thanks to both of u.