diff --git a/desktop/src/onionshare/connection_tab.py b/desktop/src/onionshare/connection_tab.py index eeb91d1e..8d6aef29 100644 --- a/desktop/src/onionshare/connection_tab.py +++ b/desktop/src/onionshare/connection_tab.py @@ -76,6 +76,7 @@ class AutoConnectTab(QtWidgets.QWidget): self.enable_autoconnect_checkbox.setText( strings._("gui_enable_autoconnect_checkbox") ) + self.enable_autoconnect_checkbox.setFixedWidth(400) self.enable_autoconnect_checkbox.setStyleSheet( common.gui.css["enable_autoconnect"] ) @@ -99,6 +100,7 @@ class AutoConnectTab(QtWidgets.QWidget): # CTA buttons self.connect_button = QtWidgets.QPushButton(strings._("gui_autoconnect_start")) self.connect_button.clicked.connect(self.connect_clicked) + self.connect_button.setFixedWidth(150) self.connect_button.setStyleSheet( common.gui.css["autoconnect_start_button"] ) diff --git a/desktop/src/onionshare/gui_common.py b/desktop/src/onionshare/gui_common.py index c9c0b349..5b0cb907 100644 --- a/desktop/src/onionshare/gui_common.py +++ b/desktop/src/onionshare/gui_common.py @@ -169,7 +169,7 @@ class GuiCommon: background: #FCFCFC; border: 1px solid #DDDBDA; border-radius: 8px; - padding: 16px; + padding: 24px 16px; }""", # Common styles between modes and their child widgets "mode_settings_toggle_advanced": """