From: enk Date: Thu, 26 May 2005 14:43:22 +0000 (+0000) Subject: Fixed method VisuGUI_AxisWg::Apply(...) X-Git-Tag: JFA_MERGE_TO_3_0_0__2005-07-07~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9002e16b7dbd59378d263b6d2ca93c78c12294cb;p=modules%2Fvisu.git Fixed method VisuGUI_AxisWg::Apply(...) where was incorrect update of labels colors --- diff --git a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx index 46fe1073..e0589924 100755 --- a/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx +++ b/src/VISUGUI/VisuGUI_CubeAxesDlg.cxx @@ -363,6 +363,7 @@ bool VisuGUI_AxisWg::Apply( vtkAxisActor2D* theActor ) aLabelsProp->SetItalic( isLabelsItalic ? 1 : 0 ); aLabelsProp->SetShadow( isLabelsShadow ? 1 : 0 ); + aLabelsProp->Modified(); theActor->SetLabelTextProperty( aLabelsProp ); } @@ -372,7 +373,7 @@ bool VisuGUI_AxisWg::Apply( vtkAxisActor2D* theActor ) int aTickLength = myTickLength->text().toInt( &isOk ); if ( isOk ) theActor->SetTickLength( aTickLength ); - + return true; } @@ -523,6 +524,7 @@ bool VisuGUI_CubeAxesDlg::onApply() isOk = isOk && myAxes[ 1 ]->Apply( anActor->GetYAxisActor2D() ); isOk = isOk && myAxes[ 2 ]->Apply( anActor->GetZAxisActor2D() ); + //anActor->SetXLabel( myAxes[ 0 ]->myAxisName->text() ); //anActor->SetYLabel( myAxes[ 1 ]->myAxisName->text() ); //anActor->SetZLabel( myAxes[ 2 ]->myAxisName->text() );