Align Tor relay settings widgets

Signed-off-by: Loren Eteval <loren.eteval@proton.me>
This commit is contained in:
Loren Eteval
2023-09-10 00:02:35 +08:00
parent 00d2faa008
commit f73687a5bd
-6
View File
@@ -92,9 +92,6 @@ 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)
@@ -149,9 +146,6 @@ 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)