Configurable coordinate info font size in Sketcher

Useful on HiDPI displays and occasionally requested feature on the forum.
This commit is contained in:
triplus 2017-03-03 19:27:10 +01:00 committed by GitHub
parent dde52952f4
commit 288239c443

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();