INT PAL 52920: TC7.7.0: Button is to small for its label

This commit is contained in:
vsr 2015-10-09 15:54:46 +03:00
parent 523d5d8801
commit 0c1e70a38f

View File

@ -111,9 +111,11 @@ void StdMeshersGUI_LayerDistributionParamWdg::init()
myCreateButton = new QPushButton( this ); myCreateButton = new QPushButton( this );
myCreateButton->setObjectName( "createBut" ); myCreateButton->setObjectName( "createBut" );
myCreateButton->setMinimumWidth(100);
myEditButton = new QPushButton( tr("EDIT"), this ); myEditButton = new QPushButton( tr("EDIT"), this );
myEditButton->setObjectName( "editBut" ); myEditButton->setObjectName( "editBut" );
myEditButton->setMinimumWidth(100);
myHypTypePopup = new QMenu( this ); myHypTypePopup = new QMenu( this );
@ -130,8 +132,8 @@ void StdMeshersGUI_LayerDistributionParamWdg::init()
} }
aHBox->addWidget( myCreateButton ); aHBox->addWidget( myCreateButton );
aHBox->addStretch(5);
aHBox->addWidget( myEditButton ); aHBox->addWidget( myEditButton );
aHBox->addStretch();
connect( myCreateButton, SIGNAL(clicked()), SLOT(onCreate())); connect( myCreateButton, SIGNAL(clicked()), SLOT(onCreate()));
connect( myEditButton, SIGNAL(clicked()), SLOT(onEdit())); connect( myEditButton, SIGNAL(clicked()), SLOT(onEdit()));