From: jfa Date: Tue, 18 Oct 2005 13:30:58 +0000 (+0000) Subject: Fix for bug 9286: Incorrect size of 'Select color' buttons of the 'Text property... X-Git-Tag: V2_2_6~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe490e090c1305ad9582f96796ee44dac4f843cc;p=modules%2Fvisu.git Fix for bug 9286: Incorrect size of 'Select color' buttons of the 'Text property' dlg --- diff --git a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx index 2e2ab54e..fc60f7f5 100644 --- a/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx +++ b/src/VISUGUI/VisuGUI_ScalarBarDlg.cxx @@ -929,6 +929,7 @@ VisuGUI_TextPrefDlg::VisuGUI_TextPrefDlg(QWidget* parent) : aFontsLst.append("Times"); myTitColor = new QToolButton(aTitleGrp); + myTitColor->setMinimumWidth( 20 ); connect( myTitColor, SIGNAL(clicked()), this, SLOT(setTitleColor()) ); aTitleLayout->addWidget(myTitColor, 1, 0); @@ -955,6 +956,7 @@ VisuGUI_TextPrefDlg::VisuGUI_TextPrefDlg(QWidget* parent) : aLabelLayout->setMargin( 3 ); myLblColor = new QToolButton(aLabelsGrp); + myLblColor->setMinimumWidth( 20 ); connect( myLblColor, SIGNAL(clicked()), this, SLOT(setLabelColor()) ); aLabelLayout->addWidget(myLblColor, 0, 0);