Hi,
Alternately in the dialog constructor, get the parent widgets size and resize accordingly
Allows you to make it slightly smaller than full screen (or any size you want.)
eg
DefDlg::DefDlg( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
if ( !name )
setName( "DefDlg" );
resize(parent->width() - 50, parent->height() - 50 );
// more stuff
}
regards
Melee