mirror of
https://github.com/onionshare/onionshare.git
synced 2025-02-13 21:21:34 -05:00
Give settings button a fixed width to avoid it getting squished in macOS
This commit is contained in:
parent
7a3de1b55f
commit
8a293409c3
@ -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…
x
Reference in New Issue
Block a user