mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-19 00:02:48 -04:00
More portable selection of monospaced font
git-svn-id: http://svn.osgeo.org/qgis/trunk@13422 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
7479708bf8
commit
a25fc30e9a
@ -126,7 +126,8 @@ class PythonEdit(QTextEdit, code.InteractiveInterpreter):
|
|||||||
self.setMinimumSize(30, 30)
|
self.setMinimumSize(30, 30)
|
||||||
self.setUndoRedoEnabled(False)
|
self.setUndoRedoEnabled(False)
|
||||||
self.setAcceptRichText(False)
|
self.setAcceptRichText(False)
|
||||||
monofont = QFont("Bitstream Vera Sans Mono", 10)
|
monofont = QFont("Monospace")
|
||||||
|
monofont.setStyleHint(QFont.TypeWriter)
|
||||||
self.setFont(monofont)
|
self.setFont(monofont)
|
||||||
|
|
||||||
self.buffer = []
|
self.buffer = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user