diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-04-23 16:43:51 +0000 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-04-23 16:43:51 +0000 |
commit | 3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1 (patch) | |
tree | 7acafbb2235c51af7d128ac2cf700fe85d7436b4 /DysonInstaller | |
parent | e22ff9d2c8e6b670b95f7039c24f9a8f300a2ac8 (diff) | |
download | live-3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1.tar.gz |
Use default width = 60
Diffstat (limited to 'DysonInstaller')
-rw-r--r-- | DysonInstaller/snack/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DysonInstaller/snack/__init__.py b/DysonInstaller/snack/__init__.py index 31794ee..599ce3f 100644 --- a/DysonInstaller/snack/__init__.py +++ b/DysonInstaller/snack/__init__.py @@ -28,7 +28,7 @@ class ProgressMessage(object): self._form.draw() self._screen.refresh() - def __init__(self, screen, width=40, title=' ', text=' '): + def __init__(self, screen, width=60, title=' ', text=' '): self._screen = screen self._textbox = TextboxReflowed(width, text) @@ -90,7 +90,7 @@ class ProgressBar(object): self._screen.refresh() - def __init__(self, screen, width=40, title='', text=' ', top=100, allow_back=False): + def __init__(self, screen, width=60, title='', text=' ', top=100, allow_back=False): self._allow_back = allow_back self._screen = screen self._top = top |