Add a fix pixels of white space inside the left side of the sidebar.

This commit is contained in:
Brent Simmons 2018-02-23 23:05:51 -08:00
parent 443958423e
commit 9e743d0192
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ class SidebarOutlineView : NSOutlineView {
// Dont allow the pseudo-feeds at the top level to be indented.
var frame = super.frameOfCell(atColumn: column, row: row)
frame.origin.x += 4.0
frame.size.width -= 4.0
let node = item(atRow: row) as! Node
guard let parentNode = node.parent, parentNode.isRoot else {