mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 10:42:58 -03:00
Give settings button a fixed width to avoid it getting squished in macOS
This commit is contained in:
parent
817a5746f9
commit
928de64171
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…
Add table
Reference in a new issue