开发者

wx.ProgressDialog too small

开发者 https://www.devze.com 2022-12-22 03:44 出处:网络
My program uses wx.ProgressDialog to give feedback on a process that is in multiple stages.At the beginning of each stage, I use the second argument of Update to change the message in the dialog.

My program uses wx.ProgressDialog to give feedback on a process that is in multiple stages. At the beginning of each stage, I use the second argument of Update to change the message in the dialog.

The problem is that the width of the dialog is determined from the message in the constructor, and the dialog is not resized if a later call to Update sets the message to something longer.

Apart from giving a long message in the constructor, is 开发者_如何学Cthere a way to make the dialog bigger?


call wx.Fit() on the dialog, or you can use SetSize((x, y))

0

精彩评论

暂无评论...
验证码 换一张
取 消