From 41e1626bd1561b0e629bce09f1aafe8df27bf23c Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Mon, 18 Jan 2021 14:23:19 +0100 Subject: [PATCH] Sketcher: increase relative size of the subindices of the constraints ===================================================================== Increase the size of the subindices as per request: https://forum.freecadweb.org/viewtopic.php?p=468144#p468144 --- src/Mod/Sketcher/Gui/ViewProviderSketch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 1a6275d085..35400c64d5 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -3677,7 +3677,7 @@ QImage ViewProviderSketch::renderConstrIcon(const QString &type, QImage icon = Gui::BitmapFactory().pixmapFromSvg(type.toLatin1().data(),QSizeF(edit->constraintIconSize,edit->constraintIconSize)).toImage(); QFont font = QApplication::font(); - font.setPixelSize(static_cast(0.8 * edit->constraintIconSize)); + font.setPixelSize(static_cast(1.0 * edit->constraintIconSize)); font.setBold(true); QFontMetrics qfm = QFontMetrics(font);