Skip to content

Commit

Permalink
enh: set monospace font with Courier placeholder for lme4 results (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Feb 16, 2021
1 parent f9a9cdf commit f74c442
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 2 additions & 0 deletions shapeout2/gui/compute/comp_lme4_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def __init__(self, parent, rlme4_results, *args, **kwargs):
summary = [ll for ll in summary if not ll[:11] in excludelines]

self.summary = summary
font = QtGui.QFont("Courier")
self.plainTextEdit.setFont(font)
self.plainTextEdit.setPlainText("\n".join(summary))

# button signals
Expand Down
5 changes: 0 additions & 5 deletions shapeout2/gui/compute/comp_lme4_results.ui
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,6 @@ font-weight:600}</string>
</item>
<item>
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="font">
<font>
<family>Monospace</family>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
Expand Down

0 comments on commit f74c442

Please sign in to comment.