优化程序

This commit is contained in:
hero920103 committed 2026-10-12 14:57:46 +08:00
1 parent 68e8eb91a7
commit 6df29c9254
27 files changed
+1974 -203

No files matched your search

+1
View File
@@ -25,6 +25,7 @@ class FlowContainer(QWidget):
def add_widget(self, w: QWidget):
w.setParent(self)
w.show() # ⚠️ 关键:必须显式 show,否则从 clear_widgets 里 hide() 后不会自动显示
self._widgets.append(w)
if self.width() > 0:
self._relayout()