changeset 62 | 2f61931520c9 |
parent 45 | 43b2279b06e1 |
child 74 | 23767a33a781 |
--- a/tuikit/editbox.py Thu Jan 10 00:03:34 2013 +0100 +++ b/tuikit/editbox.py Fri Jan 18 22:36:50 2013 +0100 @@ -5,9 +5,9 @@ class EditBox(Widget): - def __init__(self, width=20, height=20, text=''): - Widget.__init__(self, width, height) - + def __init__(self, text=''): + Widget.__init__(self) + self._default_size.update(20, 20) self.allow_focus = True self.xofs = 0