diff --git a/doc/dev/documentation.org b/doc/dev/documentation.org
index a68a3c09c2290c1ce865dddb8bdcb539547751ef..8ca3ff05af50ad2ef65437110803f521752e3b2c 100644
--- a/doc/dev/documentation.org
+++ b/doc/dev/documentation.org
@@ -977,7 +977,7 @@ SQLiteBrowser (if installed) on current Study to explore the study
 data base file.
 
 #+NAME: debug-repl
-#+ATTR_LATEX: :width 16cm
+#+ATTR_LATEX: :width 12cm
 #+CAPTION: Pamhyr2 debug Python REPL
 [[./images/python-debug-repl.png]]
 
diff --git a/doc/dev/images/python-debug-repl.png b/doc/dev/images/python-debug-repl.png
index 5cc506026c104ac044d71300430c0884c8d35fc2..847f4afc6f94829f2ccc3abc729505e841fa6626 100644
Binary files a/doc/dev/images/python-debug-repl.png and b/doc/dev/images/python-debug-repl.png differ
diff --git a/src/View/ui/DebugRepl.ui b/src/View/ui/DebugRepl.ui
index 03494a0cd53c65e3e1e91c5594af2b1429dcb24b..c0fc844ecad8d9a62c0468d98e84991ff15559eb 100644
--- a/src/View/ui/DebugRepl.ui
+++ b/src/View/ui/DebugRepl.ui
@@ -21,7 +21,13 @@
     <item row="1" column="0">
      <layout class="QHBoxLayout" name="horizontalLayout">
       <item>
-       <widget class="QPlainTextEdit" name="plainTextEdit"/>
+       <widget class="QPlainTextEdit" name="plainTextEdit">
+        <property name="font">
+         <font>
+          <family>Monospace</family>
+         </font>
+        </property>
+       </widget>
       </item>
       <item>
        <widget class="QPushButton" name="pushButton">
@@ -44,6 +50,11 @@
     </item>
     <item row="0" column="0">
      <widget class="QTextEdit" name="textEdit">
+      <property name="font">
+       <font>
+        <family>Monospace</family>
+       </font>
+      </property>
       <property name="readOnly">
        <bool>true</bool>
       </property>