fix: "no menubar icon" preference has correct height

This commit is contained in:
Louis Pontoise authored and lwouis committed 2020-08-11 13:01:09 +09:00
1 parent ba7edf7515
commit 025053dd21
1 file changed
+1
@@ -15,6 +15,7 @@ class GeneralTab: NSViewController, PreferencePane {
image.isTemplate = i == 2 ? false : true
menubarIconDropdown.item(at: i)!.image = image
}
menubarIconDropdown.item(at: 3)!.image = NSImage(size: NSSize(width: 1, height: menubarIconDropdown.item(at: 0)!.image!.size.height))
let cell = menubarIconDropdown.cell! as! NSPopUpButtonCell
cell.bezelStyle = .regularSquare
cell.arrowPosition = .arrowAtBottom