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");
|
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");
|
||||||
|
|
Loading…
Reference in New Issue