mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
Merge pull request #853 from micahflee/847_fix_mac_css
Make settings dialog checkboxes line up in macOS
This commit is contained in:
commit
6c0de01f99
@ -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 New Issue
Block a user