diff options
author | 2019-02-15 15:44:06 +0530 | |
---|---|---|
committer | 2019-02-15 15:44:11 +0530 | |
commit | 910fdfc32126e5ce158c5f9c927ae89b7f0e7f36 (patch) | |
tree | 55091f4248c74e0582cbe9947504cd02ad8dbb00 /WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift | |
parent | macOS: Tunnels list: Use constant width for the table view (diff) | |
download | wireguard-apple-910fdfc32126e5ce158c5f9c927ae89b7f0e7f36.tar.xz wireguard-apple-910fdfc32126e5ce158c5f9c927ae89b7f0e7f36.zip |
macOS: Tunnel detail: Set min width/height
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift index 411fe57..b6dff65 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelDetailTableViewController.swift @@ -162,6 +162,11 @@ class TunnelDetailTableViewController: NSViewController { scrollView.trailingAnchor.constraint(equalTo: box.trailingAnchor) ]) + NSLayoutConstraint.activate([ + containerView.widthAnchor.constraint(greaterThanOrEqualToConstant: 320), + containerView.heightAnchor.constraint(greaterThanOrEqualToConstant: 120) + ]) + view = containerView } |