     linespacingTitle.autoPinEdge(.right, to: .right, of: fontTitle)
     linespacingTitle.autoAlignAxis(.baseline, toSameAxisOf: linespacingField)
 
-    linespacingField.autoPinEdge(.top, to: .bottom, of: fontPanelButton, withOffset: 18)
+    linespacingField.autoPinEdge(.top, to: .bottom, of: fontInfo, withOffset: 18)
     linespacingField.autoPinEdge(.left, to: .right, of: linespacingTitle, withOffset: 5)
     linespacingField.autoSetDimension(.width, toSize: 60)
     NotificationCenter.default.addObserver(
       forName: NSControl.textDidEndEditingNotification,
       object: linespacingField,
       queue: nil
-    ) { [unowned self] _ in self.linespacingAction() }
+    ) { [weak self] _ in self?.linespacingAction() }
 
     characterspacingTitle.autoPinEdge(
       toSuperviewEdge: .left,

    fontPanelButton.target = self
    fontPanelButton.action = #selector(AppearancePref.showFontPanel(_:))

    let linespacingTitle = self.titleTextField(title: "Line Spacing:")
    let linespacingField = self.linespacingField


    fontPanelButton.autoPinEdge(.top, to: .bottom, of: fileIconInfo, withOffset: 18)
    fontPanelButton.autoPinEdge(.left, to: .right, of: fontTitle, withOffset: 5)

    fontInfo.autoPinEdge(.top, to: .bottom, of: fontPanelButton, withOffset: 5)
    fontInfo.autoPinEdge(.left, to: .right, of: fontTitle, withOffset: 5)

    linespacingTitle.autoPinEdge(
      toSuperviewEdge: .left,
      withInset: 18,
