aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift
diff options
context:
space:
mode:
authorRoopesh Chander <roop@roopc.net>2019-01-02 18:22:07 +0530
committerRoopesh Chander <roop@roopc.net>2019-01-14 14:52:31 +0530
commit4a4690b5fada621242ab6c3cd048f6d56ed2479d (patch)
tree3e7492baffdc19fa9e58717dd109fa0fd965ce30 /WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift
parentmacOS: Manage tunnels: Add buttons to the bottom of the list view (diff)
downloadwireguard-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 '')
-rw-r--r--WireGuard/WireGuard/UI/macOS/ViewController/TunnelsListTableViewController.swift3
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)
])