diff --git a/ModuleKit/popup.swift b/ModuleKit/popup.swift index ee16ea21..5d631b5c 100644 --- a/ModuleKit/popup.swift +++ b/ModuleKit/popup.swift @@ -111,7 +111,7 @@ internal class PopupView: NSView { self.body = NSScrollView(frame: NSRect( x: Constants.Popup.margins, y: Constants.Popup.margins, - width: frame.width, + width: frame.width - Constants.Popup.margins*2, height: frame.height - self.header.frame.height - Constants.Popup.margins*2 )) @@ -120,6 +120,7 @@ internal class PopupView: NSView { self.wantsLayer = true self.layer?.cornerRadius = 3 + self.body.drawsBackground = false self.body.translatesAutoresizingMaskIntoConstraints = true self.body.borderType = .noBorder self.body.hasVerticalScroller = true