diff options
author | Eric Kuck <eric@bluelinelabs.com> | 2019-01-10 12:18:56 +0200 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:36 +0530 |
commit | 97fec0d992537da67253437594abca45ca4f7430 (patch) | |
tree | 889b5dad7dd5d6fcbddc289e44e422bad272cf7f /WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | |
parent | ConfTextView: enable undo and disable junk (diff) | |
download | wireguard-apple-97fec0d992537da67253437594abca45ca4f7430.tar.xz wireguard-apple-97fec0d992537da67253437594abca45ca4f7430.zip |
Default view controller sizes
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
Diffstat (limited to 'WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift index aecb3c9..b818d9f 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelEditViewController.swift @@ -24,8 +24,8 @@ class TunnelEditViewController: NSViewController { let textView: ConfTextView = { let textView = ConfTextView() - let minWidth: CGFloat = 120 - let minHeight: CGFloat = 60 + let minWidth: CGFloat = 550 + let minHeight: CGFloat = 310 textView.minSize = NSSize(width: 0, height: minHeight) textView.maxSize = NSSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude) textView.autoresizingMask = [.width, .height] |