diff options
Diffstat (limited to 'qtmips_gui/fontsize.cpp')
-rw-r--r-- | qtmips_gui/fontsize.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtmips_gui/fontsize.cpp b/qtmips_gui/fontsize.cpp index 8923d08..5d65cba 100644 --- a/qtmips_gui/fontsize.cpp +++ b/qtmips_gui/fontsize.cpp @@ -14,10 +14,10 @@ void FontSize::init() { int h = QFontMetrics(QApplication::font()).height(); qDebug() << "Font size:" << h; - h /= 5; - int d = h / 10 + 1; + h /= 3; + int d = h / 4 + 1; FontSize::SIZE5 = h - 2*d; FontSize::SIZE6 = h - d; FontSize::SIZE7 = h; - FontSize::SIZE8 = h + d; + FontSize::SIZE8 = h + d/2; } |