开发者

wx.ProgressDialog too small

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜