From 4a4690b5fada621242ab6c3cd048f6d56ed2479d Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Wed, 2 Jan 2019 18:22:07 +0530 Subject: macOS: Manage tunnels: Fix list view look Signed-off-by: Roopesh Chander --- .../UI/macOS/ViewController/TunnelsListTableViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift') 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) ]) -- cgit v1.2.3-59-g8ed1b