Revert "Update widget alignment in TorRelaySettings.py"

This reverts commit 8f0d21d620.

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-09-12 18:22:28 +08:00
parent 6446ff36de
commit 79ccf4e49e
+6
View File
@@ -92,6 +92,9 @@ class TorRelaySettingsWidget(Translatable, SupportConnectedCallback, QDialog):
self.endpointGroupBoxLayout = QGridLayout(parent=self.endpointGroupBox)
if PLATFORM == 'Darwin':
self.endpointGroupBoxLayout.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeft)
self.endpointGroupBoxLayout.addWidget(self.socksTunnelWidget, 0, 0)
self.endpointGroupBoxLayout.addWidget(self.httpsTunnelWidget, 0, 1)
@@ -146,6 +149,9 @@ class TorRelaySettingsWidget(Translatable, SupportConnectedCallback, QDialog):
self.torOtherGroupBoxLayout = QGridLayout(parent=self.torOtherGroupBox)
if PLATFORM == 'Darwin':
self.torOtherGroupBoxLayout.setAlignment(QtCore.Qt.AlignmentFlag.AlignLeft)
self.torOtherGroupBoxLayout.addWidget(self.torLogLevelWidget, 0, 0)
self.torOtherGroupBoxLayout.addWidget(self.torRelayTimeoutWidget, 0, 1)