From 5f5ee84f19e481a1f97589cd4f850b655e95c5ea Mon Sep 17 00:00:00 2001 From: enk Date: Mon, 27 Mar 2006 09:48:18 +0000 Subject: [PATCH] Fix for Bug IPAL11977: TC: Incorrect AspectRatio3D presentation after editing Scalar Bar properties --- src/SMESHGUI/SMESHGUI_Preferences_ScalarBarDlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();