diff options
author | Roopesh Chander <roop@roopc.net> | 2019-01-02 18:22:07 +0530 |
---|---|---|
committer | Roopesh Chander <roop@roopc.net> | 2019-01-14 14:52:31 +0530 |
commit | 4a4690b5fada621242ab6c3cd048f6d56ed2479d (patch) | |
tree | 3e7492baffdc19fa9e58717dd109fa0fd965ce30 /WireGuard | |
parent | macOS: Manage tunnels: Add buttons to the bottom of the list view (diff) | |
download | wireguard-apple-4a4690b5fada621242ab6c3cd048f6d56ed2479d.tar.xz wireguard-apple-4a4690b5fada621242ab6c3cd048f6d56ed2479d.zip |
macOS: Manage tunnels: Fix list view look
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to 'WireGuard')
-rw-r--r-- | WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift index 160dc7f..7a4cdfa 100644 --- a/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift +++ b/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift @@ -59,6 +59,7 @@ class TunnelsListTableViewController: NSViewController { let scrollView = NSScrollView() scrollView.hasVerticalScroller = true scrollView.autohidesScrollers = true + scrollView.borderType = .bezelBorder let clipView = NSClipView() clipView.documentView = tableView @@ -74,7 +75,7 @@ class TunnelsListTableViewController: NSViewController { containerView.topAnchor.constraint(equalTo: scrollView.topAnchor), containerView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor), containerView.trailingAnchor.constraint(equalTo: scrollView.trailingAnchor), - scrollView.bottomAnchor.constraint(equalTo: buttonBar.topAnchor), + scrollView.bottomAnchor.constraint(equalTo: buttonBar.topAnchor, constant: 1), containerView.leadingAnchor.constraint(equalTo: buttonBar.leadingAnchor), containerView.bottomAnchor.constraint(equalTo: buttonBar.bottomAnchor) ]) |