disable word wrap because why not

master
BodgeMaster 2022-03-28 23:04:29 +02:00
parent 36fef1cfc1
commit 48b969fda1
1 changed files with 1 additions and 0 deletions

View File

@ -70,6 +70,7 @@ class Editor(Window):
#Text Editor
self.text_edit = QtWidgets.QPlainTextEdit()
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
self.text_edit.setWordWrapMode(QtGui.QTextOption.NoWrap)
self.setCentralWidget(self.text_edit)
self.set_size(size[0], size[1])