diff --git a/boiiiwd.py b/boiiiwd.py index f4f3f3a..c915970 100644 --- a/boiiiwd.py +++ b/boiiiwd.py @@ -873,19 +873,19 @@ class WorkshopDownloaderApp(QWidget): label_stars.setPixmap(pixmap_stars) label_stars.setAlignment(Qt.AlignCenter) + info = ( + f"Name: {map_name}
" + f"Type: {map_mod_type}
" + f"Size: {map_size}
" + ) + msg_box = QMessageBox(self) msg_box.setWindowTitle("Map/Mod Information") msg_box.setWindowIcon(QIcon('ryuk.ico')) msg_box.setIconPixmap(pixmap) - msg_box.setText(f"Name: {map_name}\nType: {map_mod_type}\nSize: {map_size}") - - layout = QVBoxLayout() - layout.addWidget(label) - layout.addWidget(label_stars) - msg_box.setLayout(layout) - - msg_box.setStandardButtons(QMessageBox.Ok) + msg_box.setInformativeText(info) msg_box.setDetailedText(f"Stars: {stars}\nLink: {url}") + msg_box.setStandardButtons(QMessageBox.Ok) msg_box.exec_()