Propagate Monospaced Font to Line Number Area in Code Editor (#1923)

Styling change missed in #1913.
This commit is contained in:
Scott Furry 2019-06-25 12:22:02 -06:00 committed by Daniel Marjamäki
parent d745dcc0eb
commit 158194d923
1 changed files with 1 additions and 0 deletions

View File

@ -194,6 +194,7 @@ CodeEditor::CodeEditor(QWidget *parent) :
QFont font("Monospace"); QFont font("Monospace");
font.setStyleHint(QFont::TypeWriter); font.setStyleHint(QFont::TypeWriter);
setFont(font); setFont(font);
mLineNumberArea->setFont(font);
// set widget coloring by overriding widget style sheet // set widget coloring by overriding widget style sheet
setObjectName("CodeEditor"); setObjectName("CodeEditor");