aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/coreview.cpp')
-rw-r--r--qtmips_gui/coreview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/coreview.cpp b/qtmips_gui/coreview.cpp
index 2e8ec5c..121b622 100644
--- a/qtmips_gui/coreview.cpp
+++ b/qtmips_gui/coreview.cpp
@@ -34,6 +34,7 @@
******************************************************************************/
#include "coreview.h"
+#include "fontsize.h"
#include <cmath>
//////////////////////////////////////////////////////////////////////////////
@@ -243,7 +244,7 @@ coreview::Signal *CoreViewScene::new_signal(const coreview::Connector *a, const
QGraphicsSimpleTextItem *CoreViewScene::new_label(const QString &str, qreal x, qreal y) {
QGraphicsSimpleTextItem *i= new QGraphicsSimpleTextItem(str);
QFont f;
- f.setPointSize(5);
+ f.setPointSize(FontSize::SIZE5);
i->setFont(f);
addItem(i);
i->setPos(x, y);