move the help button to the left

This commit is contained in:
Miguel Jacq 2017-05-20 14:04:52 +10:00
parent 2846798858
commit aa7e609e14
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -216,10 +216,10 @@ class SettingsDialog(QtWidgets.QDialog):
self.help_button = QtWidgets.QPushButton(strings._('gui_settings_button_help', True)) self.help_button = QtWidgets.QPushButton(strings._('gui_settings_button_help', True))
self.help_button.clicked.connect(self.help_clicked) self.help_button.clicked.connect(self.help_clicked)
buttons_layout = QtWidgets.QHBoxLayout() buttons_layout = QtWidgets.QHBoxLayout()
buttons_layout.addWidget(self.help_button)
buttons_layout.addStretch() buttons_layout.addStretch()
buttons_layout.addWidget(self.save_button) buttons_layout.addWidget(self.save_button)
buttons_layout.addWidget(self.cancel_button) buttons_layout.addWidget(self.cancel_button)
buttons_layout.addWidget(self.help_button)
# Tor network connection status # Tor network connection status
self.tor_status = QtWidgets.QLabel() self.tor_status = QtWidgets.QLabel()