]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#2205 Ability to customize the arrows and texts of dimensions
authornds <nds@opencascade.com>
Tue, 3 Oct 2017 19:15:22 +0000 (22:15 +0300)
committernds <nds@opencascade.com>
Tue, 3 Oct 2017 19:15:22 +0000 (22:15 +0300)
src/SketchPlugin/SketchPlugin_Plugin.cpp

index 6d3c562e9136803ad8c13b1bd4134808e600f8dc..9feecc92a9e9062666c76ea43c40d6eba1cd53cc 100644 (file)
@@ -172,17 +172,17 @@ SketchPlugin_Plugin::SketchPlugin_Plugin()
                                    Config_Prop::Color, XY_PLANE_COLOR);
 #endif
 
-  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_font", "Dimension font", Config_Prop::String,
-                                   "Arial");
+  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_font", "Dimension font",
+    Config_Prop::String, "Arial");
   std::ostringstream aStream;
   aStream << SketcherPrs_Tools::getDefaultTextHeight();
-  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_value_size", "Dimension value size", Config_Prop::Integer,
-                                   aStream.str());
+  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_value_size",
+    "Dimension value size", Config_Prop::Integer, aStream.str());
   aStream.str("");
   aStream.clear();
   aStream << SketcherPrs_Tools::getDefaultArrowSize();
-  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_arrow_size", "Dimension arrow size", Config_Prop::Integer,
-                                   aStream.str());
+  Config_PropManager::registerProp(SKETCH_TAB_NAME, "dimension_arrow_size",
+    "Dimension arrow size", Config_Prop::Integer, aStream.str());
 }
 
 FeaturePtr SketchPlugin_Plugin::createFeature(std::string theFeatureID)