E5ProcessDialog: changed the output panes to use a monospaced font as configured for the editor.

Thu, 04 Feb 2021 14:35:13 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 04 Feb 2021 14:35:13 +0100
changeset 8065
3554ff6fbba5
parent 8064
756747ba088c
child 8066
1208cdae96b6

E5ProcessDialog: changed the output panes to use a monospaced font as configured for the editor.

eric6/E5Gui/E5ProcessDialog.py file | annotate | diff | comparison | revisions
--- a/eric6/E5Gui/E5ProcessDialog.py	Thu Feb 04 10:18:36 2021 +0100
+++ b/eric6/E5Gui/E5ProcessDialog.py	Thu Feb 04 14:35:13 2021 +0100
@@ -51,6 +51,12 @@
         self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
         self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
         
+        font = Preferences.getEditorOtherFonts("MonospacedFont")
+        self.resultbox.setFontFamily(font.family())
+        self.resultbox.setFontPointSize(font.pointSize())
+        self.errors.setFontFamily(font.family())
+        self.errors.setFontPointSize(font.pointSize())
+        
         if windowTitle:
             self.setWindowTitle(windowTitle)
         if outputTitle:

eric ide

mercurial