From ab6aa7a69821ee5ca44d9f26a7996c514b563d2e Mon Sep 17 00:00:00 2001 From: svatantrya Date: Thu, 9 Apr 2026 05:46:43 -0400 Subject: [PATCH] msg_update window size --- qt.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/qt.py b/qt.py index 300ebb1..730d2f2 100644 --- a/qt.py +++ b/qt.py @@ -2015,6 +2015,7 @@ class BalWaitingDialog(BalDialog): self.thread.stop() def update_message(self, msg): + print(msg) self.message_label.setText(msg) def update(self, msg): @@ -2539,7 +2540,16 @@ class BalBuildWillDialog(BalDialog): for label in self.labels: label=label.replace("\n","
") qlabel=QLabel(label) - self.labelsbox.addWidget(QLabel(label),1) + qlabel.setWordWrap(True) + self.labelsbox.addWidget(qlabel) + + self.labelsbox.activate() + self.qwidget.setMinimumSize(self.labelsbox.sizeHint()) + self.qwidget.adjustSize() + from PyQt6.QtWidgets import QApplication + QApplication.processEvents() + + self.adjustSize() def get_text(self):