From 3a091956fe8ae2e7fe43d03cd3a0590b34ed6db1 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 23 Apr 2013 16:43:51 +0000 Subject: Use default width = 60 --- DysonInstaller/snack/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DysonInstaller/snack') 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 -- cgit v1.2.3