Merge pull request #631 from micahflee/626_squished_status_bar

Give settings button a fixed width to avoid it getting squished in macOS
This commit is contained in:
Miguel Jacq 2018-02-25 08:08:44 +11:00 committed by GitHub
commit 560f27fc76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,6 +141,7 @@ class OnionShareGui(QtWidgets.QMainWindow):
self.settings_button = QtWidgets.QPushButton()
self.settings_button.setDefault(False)
self.settings_button.setFlat(True)
self.settings_button.setFixedWidth(40)
self.settings_button.setIcon( QtGui.QIcon(common.get_resource_path('images/settings.png')) )
self.settings_button.clicked.connect(self.open_settings)