mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-14 08:49:47 -05:00
Make settings dialog checkboxes line up in macOS
This commit is contained in:
parent
3241d56ecc
commit
e501bb4de8
@ -395,6 +395,13 @@ class Common(object):
|
|||||||
'settings_connect_to_tor': """
|
'settings_connect_to_tor': """
|
||||||
QLabel {
|
QLabel {
|
||||||
font-style: italic;
|
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(hidservauth_details)
|
||||||
onion_settings_layout.addWidget(self.hidservauth_copy_button)
|
onion_settings_layout.addWidget(self.hidservauth_copy_button)
|
||||||
self.onion_settings_widget = QtWidgets.QWidget()
|
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)
|
self.onion_settings_widget.setLayout(onion_settings_layout)
|
||||||
|
|
||||||
# General options layout
|
# General options layout
|
||||||
|
Loading…
Reference in New Issue
Block a user