         self.hotKeyLabel.font = NSFont.systemFontOfSize(NSFont.smallSystemFontSize())
         self.hotKeyLabel.snp_makeConstraints { make in
             make.top.equalTo(self.titleLabel.snp_bottom).offset(2)
-            make.centerX.equalTo(self.view)
+            make.centerX.equalTo(0)
         }
 
         self.view.addSubview(self.separatorView)
         self.separatorView.image = NSImage(named: "line")
         self.separatorView.snp_makeConstraints { make in
             make.top.equalTo(self.hotKeyLabel.snp_bottom).offset(8)
-            make.centerX.equalTo(self.view)
-            make.width.equalTo(self.view)
+            make.centerX.width.equalTo(0)
             make.height.equalTo(2)
         }
 

        self.titleLabel.action = "navigateToMain"
        self.titleLabel.snp_makeConstraints { make in
            make.top.equalTo(10)
            make.centerX.equalTo(self.view)
        }

        self.view.addSubview(self.hotKeyLabel)

        self.menuButton.target = self
        self.menuButton.action = "showMenu"
        self.menuButton.snp_makeConstraints { make in
            make.right.equalTo(-10)
            make.centerY.equalTo(self.separatorView.snp_top).dividedBy(2)
        }

