From 301dc81770b58dc5128514cce3ea8723eb989f64 Mon Sep 17 00:00:00 2001 From: Roopesh Chander Date: Wed, 2 Jan 2019 18:22:07 +0530 Subject: [PATCH] macOS: Manage tunnels: Fix list view look --- .../macOS/ViewController/TunnelsListTableViewController.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) ])