Use system-default fixed font for debug entry and log

This commit is contained in:
Glutanimate 2019-02-16 10:26:49 +01:00
parent 3037bf6ef8
commit d629ceb3b5
2 changed files with 4 additions and 5 deletions

View File

@ -1171,6 +1171,10 @@ will be lost. Continue?"""))
d.silentlyClose = True
frm = aqt.forms.debug.Ui_Dialog()
frm.setupUi(d)
font = QFontDatabase.systemFont(QFontDatabase.FixedFont)
font.setPointSize(frm.text.font().pointSize() + 1)
frm.text.setFont(font)
frm.log.setFont(font)
s = self.debugDiagShort = QShortcut(QKeySequence("ctrl+return"), d)
s.activated.connect(lambda: self.onDebugRet(frm))
s = self.debugDiagShort = QShortcut(

View File

@ -41,11 +41,6 @@
<verstretch>8</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Courier</family>
</font>
</property>
<property name="focusPolicy">
<enum>Qt::ClickFocus</enum>
</property>