]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Qt4 porting.
authormkr <mkr@opencascade.com>
Tue, 18 Mar 2008 12:35:31 +0000 (12:35 +0000)
committermkr <mkr@opencascade.com>
Tue, 18 Mar 2008 12:35:31 +0000 (12:35 +0000)
src/SMESHGUI/SMESHGUI_GroupDlg.cxx

index de1f41994a8f92a21ed4ce1a2a82faefdc29723f..f252dcce600f0e6a4433a00b8dc9a3004e2f83ba 100644 (file)
@@ -316,6 +316,8 @@ void SMESHGUI_GroupDlg::initDialog(bool create)
 
   QLabel* aColorLab = new QLabel(tr("SMESH_CHECK_COLOR"), aColorBox );
   myColorBtn = new QtxColorButton(aColorBox);
+  myColorBtn->setSizePolicy( QSizePolicy::MinimumExpanding, 
+                            myColorBtn->sizePolicy().verticalPolicy() );
 
   aColorBoxLayout->addWidget(aColorLab);
   aColorBoxLayout->addWidget(myColorBtn);