macOS: Tunnel detail: Set min width/height
This commit is contained in:
parent
5eaef2f573
commit
eb683ce18c
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue