mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
#1293 Use courier monospace font
This commit is contained in:
parent
141257c83e
commit
d1ddc8f519
@ -136,6 +136,9 @@ RicTextWidget::RicTextWidget(QWidget* parent) : QDialog(parent, Qt::WindowTitleH
|
|||||||
m_textEdit->setReadOnly(true);
|
m_textEdit->setReadOnly(true);
|
||||||
m_textEdit->setLineWrapMode(QTextEdit::NoWrap);
|
m_textEdit->setLineWrapMode(QTextEdit::NoWrap);
|
||||||
|
|
||||||
|
QFont font("Courier", 8);
|
||||||
|
m_textEdit->setFont(font);
|
||||||
|
|
||||||
QVBoxLayout* layout = new QVBoxLayout();
|
QVBoxLayout* layout = new QVBoxLayout();
|
||||||
layout->addWidget(m_textEdit);
|
layout->addWidget(m_textEdit);
|
||||||
setLayout(layout);
|
setLayout(layout);
|
||||||
|
Loading…
Reference in New Issue
Block a user