mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Fix margins on HBoxLayouts in settings
This commit is contained in:
parent
95f097eae3
commit
026322b458
@ -66,6 +66,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
||||
use_legacy_v2_onions_layout.addWidget(self.use_legacy_v2_onions_checkbox)
|
||||
use_legacy_v2_onions_layout.addWidget(use_legacy_v2_onions_label)
|
||||
use_legacy_v2_onions_layout.addStretch()
|
||||
use_legacy_v2_onions_layout.setContentsMargins(0,0,0,0)
|
||||
use_legacy_v2_onions_widget = QtWidgets.QWidget()
|
||||
use_legacy_v2_onions_widget.setLayout(use_legacy_v2_onions_layout)
|
||||
|
||||
@ -95,6 +96,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
||||
use_stealth_layout.addWidget(self.stealth_checkbox)
|
||||
use_stealth_layout.addWidget(use_stealth_label)
|
||||
use_stealth_layout.addStretch()
|
||||
use_stealth_layout.setContentsMargins(0,0,0,0)
|
||||
use_stealth_widget = QtWidgets.QWidget()
|
||||
use_stealth_widget.setLayout(use_stealth_layout)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user