macOS: Tunnel detail: Set min width/height

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-02-15 15:44:06 +05:30
parent c38a88988b
commit 910fdfc321
1 changed files with 5 additions and 0 deletions

View File

@ -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
}