Fix for bug 9366: incorrect size of the 'Select color' buttons

This commit is contained in:
jfa 2005-10-24 09:10:21 +00:00
parent 02175e2b01
commit 59b713cdcd

View File

@ -170,6 +170,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg(QWidget* pa
myFontGrpLayout->setSpacing( SPACING_SIZE ); myFontGrpLayout->setMargin( MARGIN_SIZE );
myTitleColorBtn = new QToolButton( myFontGrp, "myTitleColorBtn" );
myTitleColorBtn->setMinimumWidth( 20 );
myTitleFontCombo = new QComboBox( false, myFontGrp, "myTitleFontCombo" );
myTitleFontCombo->setMinimumWidth( MINIMUM_WIDTH );
@ -183,6 +184,7 @@ SMESHGUI_Preferences_ScalarBarDlg::SMESHGUI_Preferences_ScalarBarDlg(QWidget* pa
myTitleShadowCheck = new QCheckBox( tr( "SMESH_FONT_SHADOW" ), myFontGrp, "myTitleShadowCheck" );
myLabelsColorBtn = new QToolButton( myFontGrp, "myLabelsColorBtn" );
myLabelsColorBtn->setMinimumWidth( 20 );
myLabelsFontCombo = new QComboBox( false, myFontGrp, "myLabelsFontCombo" );
myLabelsFontCombo->setMinimumWidth( MINIMUM_WIDTH );