monospace font in clayout

This commit is contained in:
Damien Elmes 2020-05-22 09:58:20 +10:00
parent c52a076176
commit a4efd9910e

View File

@ -216,6 +216,7 @@ class CardLayout(QDialog):
self.current_editor_index = 0
self.tform.edit_area.setAcceptRichText(False)
self.tform.edit_area.setFont(QFont("Courier"))
if qtminor < 10:
self.tform.edit_area.setTabStopWidth(30)
else: