From 928de641716fa18ca081388821453bc6d5a46c97 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Sat, 24 Feb 2018 12:34:46 -0800 Subject: [PATCH] Give settings button a fixed width to avoid it getting squished in macOS --- onionshare_gui/onionshare_gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/onionshare_gui/onionshare_gui.py b/onionshare_gui/onionshare_gui.py index e7ba776b..e6987cfb 100644 --- a/onionshare_gui/onionshare_gui.py +++ b/onionshare_gui/onionshare_gui.py @@ -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)