disable word wrap because why not
parent
36fef1cfc1
commit
48b969fda1
|
@ -70,6 +70,7 @@ class Editor(Window):
|
||||||
#Text Editor
|
#Text Editor
|
||||||
self.text_edit = QtWidgets.QPlainTextEdit()
|
self.text_edit = QtWidgets.QPlainTextEdit()
|
||||||
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
|
self.text_edit.setFrameStyle(QtWidgets.QFrame.NoFrame)
|
||||||
|
self.text_edit.setWordWrapMode(QtGui.QTextOption.NoWrap)
|
||||||
self.setCentralWidget(self.text_edit)
|
self.setCentralWidget(self.text_edit)
|
||||||
|
|
||||||
self.set_size(size[0], size[1])
|
self.set_size(size[0], size[1])
|
||||||
|
|
Reference in New Issue