macOS: Manage tunnels: Fix list view look
This commit is contained in:
parent
3bfcfe61a6
commit
301dc81770
|
@ -59,6 +59,7 @@ class TunnelsListTableViewController: NSViewController {
|
||||||
let scrollView = NSScrollView()
|
let scrollView = NSScrollView()
|
||||||
scrollView.hasVerticalScroller = true
|
scrollView.hasVerticalScroller = true
|
||||||
scrollView.autohidesScrollers = true
|
scrollView.autohidesScrollers = true
|
||||||
|
scrollView.borderType = .bezelBorder
|
||||||
|
|
||||||
let clipView = NSClipView()
|
let clipView = NSClipView()
|
||||||
clipView.documentView = tableView
|
clipView.documentView = tableView
|
||||||
|
@ -74,7 +75,7 @@ class TunnelsListTableViewController: NSViewController {
|
||||||
containerView.topAnchor.constraint(equalTo: scrollView.topAnchor),
|
containerView.topAnchor.constraint(equalTo: scrollView.topAnchor),
|
||||||
containerView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor),
|
containerView.leadingAnchor.constraint(equalTo: scrollView.leadingAnchor),
|
||||||
containerView.trailingAnchor.constraint(equalTo: scrollView.trailingAnchor),
|
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.leadingAnchor.constraint(equalTo: buttonBar.leadingAnchor),
|
||||||
containerView.bottomAnchor.constraint(equalTo: buttonBar.bottomAnchor)
|
containerView.bottomAnchor.constraint(equalTo: buttonBar.bottomAnchor)
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue