From 86356d02642d34c6affc32d9d54fa93e933196dc Mon Sep 17 00:00:00 2001 From: kaibot Date: Wed, 8 Apr 2026 23:46:53 +0000 Subject: [PATCH] Fix BalBuildWillDialog: risolto sfarfallio su Windows - Rimosso duplicazione di QLabel nel loop di msg_update - Aggiunto setWordWrap(True) per gestione corretta del testo - Mantenuto il metodo clear_layout esistente - Fix # --- qt.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/qt.py b/qt.py index 86e1b35..4ae9451 100644 --- a/qt.py +++ b/qt.py @@ -2536,10 +2536,11 @@ class BalBuildWillDialog(BalDialog): def msg_update(self): self.clear_layout(self.labelsbox) - for label in self.labels: - label=label.replace("\n","
") - qlabel=QLabel(label) - self.labelsbox.addWidget(QLabel(label),1) + for text in self.labels: + text = text.replace("\n","
") + qlabel = QLabel(text) + qlabel.setWordWrap(True) + self.labelsbox.addWidget(qlabel) self.setMinimumHeight(30*(len(self.labels)+2))