TechDraw: small corrections for line sizes
changeing the line weight for dimensions to a thin line and get the font size for detail view labels from the configuration rather than using a hardcoded value. Also removing a duplicate method, as it is already implemend in the parent class.
This commit is contained in:
committed by
Yorik van Havre
parent
dd49ee27fd
commit
efa8ceb303
@@ -67,7 +67,7 @@ ViewProviderDimension::ViewProviderDimension()
|
||||
hGrp = App::GetApplication().GetUserParameter().GetGroup("BaseApp")->GetGroup("Preferences")->GetGroup("Mod/TechDraw/Decorations");
|
||||
std::string lgName = hGrp->GetASCII("LineGroup","FC 0.70mm");
|
||||
auto lg = TechDraw::LineGroup::lineGroupFactory(lgName);
|
||||
double weight = lg->getWeight("Graphic");
|
||||
double weight = lg->getWeight("Thin");
|
||||
ADD_PROPERTY_TYPE(LineWidth,(weight) ,group,(App::PropertyType)(App::Prop_None),"Dimension line weight");
|
||||
|
||||
hGrp = App::GetApplication().GetUserParameter()
|
||||
|
||||
Reference in New Issue
Block a user