diff --git a/UserPhraseEditor/Resources/Base.lproj/Main.storyboard b/UserPhraseEditor/Resources/Base.lproj/Main.storyboard index 961f9c8b..50dc3c4d 100755 --- a/UserPhraseEditor/Resources/Base.lproj/Main.storyboard +++ b/UserPhraseEditor/Resources/Base.lproj/Main.storyboard @@ -721,6 +721,9 @@ + + + diff --git a/UserPhraseEditor/ViewController.swift b/UserPhraseEditor/ViewController.swift index 40b68b02..ef04c6c0 100644 --- a/UserPhraseEditor/ViewController.swift +++ b/UserPhraseEditor/ViewController.swift @@ -25,6 +25,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. import Cocoa class ViewController: NSViewController, NSTextViewDelegate { + @IBOutlet var edtDocument: NSTextView! /// - Tag: setRepresentedObjectExample override var representedObject: Any? { didSet { @@ -45,6 +46,7 @@ class ViewController: NSViewController, NSTextViewDelegate { override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. + edtDocument.font = NSFont(name: "Monaco", size: 16) } override func viewDidAppear() {