mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-10 19:52:50 -03:00
Make settings dialog checkboxes line up in macOS
This commit is contained in:
parent
3241d56ecc
commit
e501bb4de8
2 changed files with 8 additions and 0 deletions
|
@ -395,6 +395,13 @@ class Common(object):
|
|||
'settings_connect_to_tor': """
|
||||
QLabel {
|
||||
font-style: italic;
|
||||
}""",
|
||||
|
||||
# For some reason, this prevents extra padding around the v2 onion
|
||||
# settings when viewing in macOS
|
||||
'settings_onion_settings': """
|
||||
QWidget {
|
||||
border: 0;
|
||||
}"""
|
||||
}
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ class SettingsDialog(QtWidgets.QDialog):
|
|||
onion_settings_layout.addWidget(hidservauth_details)
|
||||
onion_settings_layout.addWidget(self.hidservauth_copy_button)
|
||||
self.onion_settings_widget = QtWidgets.QWidget()
|
||||
self.onion_settings_widget.setStyleSheet(self.common.css['settings_onion_settings'])
|
||||
self.onion_settings_widget.setLayout(onion_settings_layout)
|
||||
|
||||
# General options layout
|
||||
|
|
Loading…
Reference in a new issue