mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-29 10:12:38 +02:00
Match styling of document-labels to design reference
- removes bold - removes font size (default works) - removes 'suspicious: ' label before the document name
This commit is contained in:
parent
6707cbbc4a
commit
bbc70df43b
1 changed files with 1 additions and 6 deletions
|
@ -590,12 +590,7 @@ class DocumentWidget(QtWidgets.QWidget):
|
||||||
# Dangerous document label
|
# Dangerous document label
|
||||||
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.setText(os.path.basename(self.document.input_filename))
|
||||||
"QLabel { font-size: 16px; font-weight: bold; }"
|
|
||||||
)
|
|
||||||
self.dangerous_doc_label.setText(
|
|
||||||
f"Suspicious: {os.path.basename(self.document.input_filename)}"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Conversion status images
|
# Conversion status images
|
||||||
self.img_status_unconverted = self.load_status_image("status_unconverted.png")
|
self.img_status_unconverted = self.load_status_image("status_unconverted.png")
|
||||||
|
|
Loading…
Reference in a new issue