macOS: Tunnel detail: Set min width/height

This commit is contained in:
Roopesh Chander 2019-02-15 15:44:06 +05:30
parent 5eaef2f573
commit eb683ce18c
1 changed files with 5 additions and 0 deletions

View File

@ -162,6 +162,11 @@ class TunnelDetailTableViewController: NSViewController {
scrollView.trailingAnchor.constraint(equalTo: box.trailingAnchor) scrollView.trailingAnchor.constraint(equalTo: box.trailingAnchor)
]) ])
NSLayoutConstraint.activate([
containerView.widthAnchor.constraint(greaterThanOrEqualToConstant: 320),
containerView.heightAnchor.constraint(greaterThanOrEqualToConstant: 120)
])
view = containerView view = containerView
} }