From: sln Date: Tue, 16 Dec 2008 11:38:23 +0000 (+0000) Subject: 0019819: EDF 643 VISU : Scalar bar ergonomics X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a721b4c3b4d73e547f36f1df47ecdb3fcb961c4;p=modules%2Fvisu.git 0019819: EDF 643 VISU : Scalar bar ergonomics Scalar bar ergonomics is updated. Two Parameters "Title width (%)" and "Title height (%)" are replaced with one parameter "Title size (%)". Two Parameters "Labels width (%)" and "Labels height (%)" are replaced with one parameter "Labels size (%)". Format of labels is stored as integer value specified format precision instead of string value representing format. This integer value is used by Preferences and "Bar properties" dialog box. All other internal objects (actors and presentations) uses format as string values. Two auxiliary methods VISU_Prs3dUtils::ToFormat() and VISU_Prs3dUtils::ToPrecision() are created for converting precision to format and vice versa. Label "Dimensions" of "Scalar bar properties" pane is replaced with "Dimensions (in % of the size of view)" --- diff --git a/doc/salome/gui/VISU/input/scalar_map.doc b/doc/salome/gui/VISU/input/scalar_map.doc index 1f92cc3c..e99ab907 100644 --- a/doc/salome/gui/VISU/input/scalar_map.doc +++ b/doc/salome/gui/VISU/input/scalar_map.doc @@ -91,7 +91,7 @@ orientation of the scalar bar.
  • Origin: you can enter X & Y coordinates of the origin of the scalar bar.
  • Dimensions: you can enter \b Width and \b Height of the -scalar bar.
  • +scalar bar specified in % of the size of view.
  • Text properties button allows you to define from the following dialog box: @@ -110,11 +110,11 @@ following dialog box: \image html barproperty.png