macOS: Tunnel detail: Better alignment for bottom controls

Signed-off-by: Roopesh Chander <roop@roopc.net>
This commit is contained in:
Roopesh Chander 2019-01-18 02:02:54 +05:30 committed by Jason A. Donenfeld
parent dc8f27c5c3
commit 69b973efdc
1 changed files with 2 additions and 2 deletions

View File

@ -142,9 +142,9 @@ class TunnelDetailTableViewController: NSViewController {
scrollView.bottomAnchor.constraint(equalTo: bottomControlsContainer.topAnchor),
bottomControlsContainer.bottomAnchor.constraint(equalTo: containerView.bottomAnchor),
statusCheckbox.leadingAnchor.constraint(equalTo: bottomControlsContainer.leadingAnchor),
statusCheckbox.centerYAnchor.constraint(equalTo: bottomControlsContainer.centerYAnchor),
bottomControlsContainer.bottomAnchor.constraint(equalTo: statusCheckbox.bottomAnchor, constant: 4),
editButton.trailingAnchor.constraint(equalTo: bottomControlsContainer.trailingAnchor),
editButton.centerYAnchor.constraint(equalTo: bottomControlsContainer.centerYAnchor)
bottomControlsContainer.bottomAnchor.constraint(equalTo: editButton.bottomAnchor, constant: 4)
])
NSLayoutConstraint.activate([