diff --git a/Mac/Base.lproj/Main.storyboard b/Mac/Base.lproj/Main.storyboard index 0aaab85a..5c630372 100644 --- a/Mac/Base.lproj/Main.storyboard +++ b/Mac/Base.lproj/Main.storyboard @@ -1,8 +1,8 @@ - + - + diff --git a/Mac/View/SearchTextField.swift b/Mac/View/SearchTextField.swift index aa8bf950..7ea96db8 100644 --- a/Mac/View/SearchTextField.swift +++ b/Mac/View/SearchTextField.swift @@ -18,6 +18,14 @@ class SearchTextField: NSSearchField, NSSearchFieldDelegate { private var trackingArea: NSTrackingArea? + + override func rectForSearchText(whenCentered isCentered: Bool) -> NSRect { + var rect = super.rectForSearchText(whenCentered: isCentered) + rect.origin.y += 1.0 + rect.size.height += 2.0 + return rect + } + override func updateTrackingAreas() { if let trackingArea = trackingArea { removeTrackingArea(trackingArea)