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))
精彩评论