Add a fix pixels of white space inside the left side of the sidebar.
This commit is contained in:
parent
443958423e
commit
9e743d0192
|
@ -21,6 +21,8 @@ class SidebarOutlineView : NSOutlineView {
|
|||
// Don’t 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 {
|
||||
|
|
Loading…
Reference in New Issue