Merge pull request #583 from triplus/Font-size

Configurable coordinate info font size in Sketcher
This commit is contained in:
wwmayer
2017-03-03 22:25:56 +01:00
committed by GitHub

View File

@@ -5200,8 +5200,10 @@ void ViewProviderSketch::createEditInventorNodes(void)
CoordTextMaterials->diffuseColor = cursorTextColor;
Coordsep->addChild(CoordTextMaterials);
int fontSize = hGrp->GetInt("EditSketcherFontSize", 17);
SoFont *font = new SoFont();
font->size = 10.0;
font->size.setValue(fontSize);
Coordsep->addChild(font);
edit->textPos = new SoTranslation();