GUI development

This commit is contained in:
BarsTiger
2022-01-27 21:39:53 +02:00
parent ff3be0916a
commit d1cd27bb5b
2 changed files with 3 additions and 1 deletions

View File

@@ -765,7 +765,8 @@ class Ui_DownloadWindow(object):
self.logs_box.setMaximumSize(QtCore.QSize(1000, 1000))
self.logs_box.setStyleSheet("background-color: rgb(74, 76, 83);\n"
"border-radius: 5px; \n"
"color: rgb(242, 242, 242);")
"color: rgb(242, 242, 242);\n"
'font: 50 12pt "Arial Black";')
self.logs_box.setAcceptRichText(False)
self.logs_box.setTextInteractionFlags(QtCore.Qt.TextSelectableByMouse)
self.logs_box.setObjectName("logs_box")

View File

@@ -60,6 +60,7 @@ def info(package, download_ui=None, UiDownloadWindow=None):
download_ui.logs_box.append(f"{r['name']}{'' if r['verified'] else ''} by {r['authorName']}")
download_ui.logs_box.append(f"{r['description']}")
download_ui.logs_box.append(f"👍{r['likes']} | 👎{r['dislikes']}")
download_ui.logs_box.append("")
if not r['verified']:
download_ui.logs_box.append("This package is not verified by the horsy team. This means that it \n"
"can be unstable or it can be malware. Most packages have unverified\n"