From: enk Date: Mon, 27 Mar 2006 09:48:18 +0000 (+0000) Subject: Fix for Bug IPAL11977: X-Git-Tag: T3_2_0b1_pre1~79 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5f5ee84f19e481a1f97589cd4f850b655e95c5ea;p=modules%2Fsmesh.git Fix for Bug IPAL11977: TC: Incorrect AspectRatio3D presentation after editing Scalar Bar properties --- diff --git a/src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx b/src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx index d9b43c81c..9f47c0f48 100644 --- a/src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx @@ -637,8 +637,8 @@ void SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged() if ( myScalarBarActor->GetLookupTable() ) { float *range = myScalarBarActor->GetLookupTable()->GetRange(); - myMinEdit->setText( QString::number( range[0] ) ); - myMaxEdit->setText( QString::number( range[1] ) ); + myMinEdit->setText( QString::number( range[0],'g',12 ) ); + myMaxEdit->setText( QString::number( range[1],'g',12 ) ); } vtkTextProperty* aTitleTextPrp = myScalarBarActor->GetTitleTextProperty();