From 0ad0b58ab31db0e5f0f2e98ebcf65e02792294c4 Mon Sep 17 00:00:00 2001 From: WandererFan Date: Fri, 2 Dec 2016 19:27:09 -0500 Subject: [PATCH] Use current font size preference for Label and Caption --- src/Mod/TechDraw/Gui/QGIView.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Mod/TechDraw/Gui/QGIView.cpp b/src/Mod/TechDraw/Gui/QGIView.cpp index a92f46e574..e5915fe115 100644 --- a/src/Mod/TechDraw/Gui/QGIView.cpp +++ b/src/Mod/TechDraw/Gui/QGIView.cpp @@ -329,6 +329,7 @@ void QGIView::drawCaption() QRectF displayArea = customChildrenBoundingRect(); m_caption->setDefaultTextColor(m_colCurrent); m_font.setFamily(getPrefFont()); + m_font.setPointSize(getPrefFontSize()); //scene units (mm), not points m_caption->setFont(m_font); QString captionStr = QString::fromUtf8(getViewObject()->Caption.getValue()); m_caption->setPlainText(captionStr); @@ -361,6 +362,7 @@ void QGIView::drawBorder() m_label->setDefaultTextColor(m_colCurrent); m_font.setFamily(getPrefFont()); + m_font.setPointSize(getPrefFontSize()); //scene units (mm), not points m_label->setFont(m_font); QString labelStr = QString::fromUtf8(getViewObject()->Label.getValue()); m_label->setPlainText(labelStr);