From: nds Date: Tue, 3 Oct 2017 19:15:22 +0000 (+0300) Subject: #2205 Ability to customize the arrows and texts of dimensions X-Git-Tag: V_2.9.0~23^2~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7aed3dc9feb09539132ea275279440584f93d5a;p=modules%2Fshaper.git #2205 Ability to customize the arrows and texts of dimensions --- diff --git a/src/SketchPlugin/SketchPlugin_Plugin.cpp b/src/SketchPlugin/SketchPlugin_Plugin.cpp index 6d3c562e9..9feecc92a 100644 --- a/src/SketchPlugin/SketchPlugin_Plugin.cpp +++ b/src/SketchPlugin/SketchPlugin_Plugin.cpp @@ -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)