Skip to content

Commit

Permalink
make progess dialog bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
bmattern authored and Brian Mattern committed Jul 12, 2012
1 parent 3c70779 commit eabb09e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/minixs/gui/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@ def __init__(self, name, title):
self.dialog = wx.ProgressDialog(title, name, maximum=100, style=wx.PD_APP_MODAL | wx.PD_AUTO_HIDE)
self.dialog.Show()

w,h = self.dialog.GetSize()
self.dialog.SetSize((300, h))


def do_update(self):
self.dialog.Update(int(self.progress * 100), self.msg)

0 comments on commit eabb09e

Please sign in to comment.