mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-03 15:05:11 -04:00
Fix margins on HBoxLayouts in settings
This commit is contained in:
parent
95f097eae3
commit
026322b458
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue