Remove css padding because it looks totally wrong in macOS

This commit is contained in:
Micah Lee 2020-01-09 13:13:03 -08:00
parent 0f464dcb0c
commit 816a8fecd7
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -14,7 +14,7 @@ class SettingsWidget(QtWidgets.QWidget):
self.dangerous_doc_label = QtWidgets.QLabel() self.dangerous_doc_label = QtWidgets.QLabel()
self.dangerous_doc_label.setAlignment(QtCore.Qt.AlignCenter) self.dangerous_doc_label.setAlignment(QtCore.Qt.AlignCenter)
self.dangerous_doc_label.setStyleSheet( self.dangerous_doc_label.setStyleSheet(
"QLabel { font-size: 16px; font-weight: bold; color: #572606; padding: 10px; }" "QLabel { font-size: 16px; font-weight: bold; color: #572606; }"
) )
# Save safe version # Save safe version
@ -63,7 +63,7 @@ class SettingsWidget(QtWidgets.QWidget):
self.start_button = QtWidgets.QPushButton("Convert to Safe Document") self.start_button = QtWidgets.QPushButton("Convert to Safe Document")
self.start_button.clicked.connect(self.start_button_clicked) self.start_button.clicked.connect(self.start_button_clicked)
self.start_button.setStyleSheet( self.start_button.setStyleSheet(
"QPushButton { font-size: 16px; font-weight: bold; padding: 10px; }" "QPushButton { font-size: 16px; font-weight: bold; }"
) )
button_layout = QtWidgets.QHBoxLayout() button_layout = QtWidgets.QHBoxLayout()
button_layout.addStretch() button_layout.addStretch()