#1293 Use courier monospace font

This commit is contained in:
Magne Sjaastad 2017-03-16 08:36:04 +01:00
parent 141257c83e
commit d1ddc8f519

View File

@ -136,6 +136,9 @@ RicTextWidget::RicTextWidget(QWidget* parent) : QDialog(parent, Qt::WindowTitleH
m_textEdit->setReadOnly(true);
m_textEdit->setLineWrapMode(QTextEdit::NoWrap);
QFont font("Courier", 8);
m_textEdit->setFont(font);
QVBoxLayout* layout = new QVBoxLayout();
layout->addWidget(m_textEdit);
setLayout(layout);