Skip to content

Commit

Permalink
Merge pull request #583 from triplus/Font-size
Browse files Browse the repository at this point in the history
Configurable coordinate info font size in Sketcher
  • Loading branch information
wwmayer committed Mar 3, 2017
2 parents 0d7a8e1 + 288239c commit 09510f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 09510f0

Please sign in to comment.