added monospace font to editor

This commit is contained in:
iLLiCiTiT 2021-08-15 22:45:27 +02:00
parent aefe81d665
commit dd3be3cd33
2 changed files with 3 additions and 1 deletions

View file

@ -74,6 +74,8 @@ class PythonCodeEditor(QtWidgets.QPlainTextEdit):
def __init__(self, parent): def __init__(self, parent):
super(PythonCodeEditor, self).__init__(parent) super(PythonCodeEditor, self).__init__(parent)
self.setObjectName("PythonCodeEditor")
self._indent = 4 self._indent = 4
def _tab_shift_right(self): def _tab_shift_right(self):

View file

@ -625,6 +625,6 @@ QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
} }
/* Python console interpreter */ /* Python console interpreter */
#PythonInterpreterOutput { #PythonInterpreterOutput, #PythonCodeEditor {
font-family: "Roboto Mono"; font-family: "Roboto Mono";
} }