Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 0ee362b

Browse files
committed
Use monospace font for data in/out boxes
1 parent 2af12bb commit 0ee362b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

seedqreader.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from PySide6.QtGui import QImage, QPixmap, QPalette, QColor, QColorConstants, QIcon
1414
from PySide6.QtCore import Qt, QFile, QThread, Signal
1515
from PySide6.QtUiTools import QUiLoader
16-
from PySide6.QtGui import QTextOption
16+
from PySide6.QtGui import QTextOption, QFontDatabase
1717

1818
from PIL import ImageQt
1919

@@ -39,7 +39,7 @@
3939
import numpy as np
4040
import base64
4141

42-
VERSION="1.1.1"
42+
VERSION="1.1.2"
4343

4444
MAX_LEN = 100
4545
FILL_COLOR = "#434343"
@@ -657,6 +657,10 @@ def __init__(self, loader):
657657
self.ui.delay_slider.valueChanged.connect(self.on_delay_slider_move)
658658
self.ui.no_split.stateChanged.connect(self.on_no_split_change)
659659

660+
# use monospace font for data in/out boxes
661+
font = QFontDatabase.systemFont(QFontDatabase.SystemFont.FixedFont)
662+
self.ui.data_out.setFont(font)
663+
self.ui.data_in.setFont(font)
660664
self.ui.data_out.setWordWrapMode(QTextOption.WrapAnywhere)
661665

662666
# init radio button

0 commit comments

Comments
 (0)