PEUI // Patch textView.isRichText.

This commit is contained in:
ShikiSuen 2024-02-09 01:37:27 +08:00
parent e3a775dfa5
commit c0e1eb449d
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ public struct TextEditorEX: NSViewRepresentable {
textView.isVerticallyResizable = true
textView.frame = CGRect(x: 0, y: 0, width: contentSize.width, height: contentSize.height)
textView.autoresizingMask = [.width]
textView.isRichText = false
textView.delegate = self
scrollview.borderType = .noBorder