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
This commit is contained in:
Abdullah Tahiri
2021-01-18 14:23:19 +01:00
parent bf221af686
commit 41e1626bd1

View File

@@ -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<int>(0.8 * edit->constraintIconSize));
font.setPixelSize(static_cast<int>(1.0 * edit->constraintIconSize));
font.setBold(true);
QFontMetrics qfm = QFontMetrics(font);