mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
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:
commit
560f27fc76
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue