Propagate Monospaced Font to Line Number Area in Code Editor (#1923)
Styling change missed in #1913.
This commit is contained in:
parent
d745dcc0eb
commit
158194d923
|
@ -194,6 +194,7 @@ CodeEditor::CodeEditor(QWidget *parent) :
|
|||
QFont font("Monospace");
|
||||
font.setStyleHint(QFont::TypeWriter);
|
||||
setFont(font);
|
||||
mLineNumberArea->setFont(font);
|
||||
|
||||
// set widget coloring by overriding widget style sheet
|
||||
setObjectName("CodeEditor");
|
||||
|
|
Loading…
Reference in New Issue