From 0ebbaec244c3828675e4d9a2887ba840ac464949 Mon Sep 17 00:00:00 2001 From: Gong Zhang Date: Mon, 31 Jul 2017 11:07:03 +0800 Subject: [PATCH] Change status item width to NSVariableStatusItemLength --- ShadowsocksX-NG/AppDelegate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ShadowsocksX-NG/AppDelegate.swift b/ShadowsocksX-NG/AppDelegate.swift index 75d4f6f..f1926d4 100755 --- a/ShadowsocksX-NG/AppDelegate.swift +++ b/ShadowsocksX-NG/AppDelegate.swift @@ -48,7 +48,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserNotificationCenterDele let kProfileMenuItemIndexBase = 100 var statusItem: NSStatusItem! - static let StatusItemIconWidth:CGFloat = 30 + static let StatusItemIconWidth: CGFloat = NSVariableStatusItemLength func applicationDidFinishLaunching(_ aNotification: Notification) {