QTimer.singleShot(0, lambda: self.resize(1, 1)) 1 1 The singleShot timer is required to ensure the resize runs after Qt is aware of the new contents.
確定! 回上一頁