diff options
author | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-08-24 18:49:44 (GMT) |
---|---|---|
committer | Alexandre Antonino Gonçalves Martinazzo <alexandremartinazzo@gmail.com> | 2007-08-24 18:49:44 (GMT) |
commit | fc1f549a9711d6d5d91558295906fbc0f813f927 (patch) | |
tree | 8ddc33451afdd06466c98994c4d671863b5cc66b /OficinaActivity.py | |
parent | 023e8784a6b67399ee4f383e9310b9677df7f1ef (diff) |
Text tool improved.
Using a gtk.TextView to display text.
Diffstat (limited to 'OficinaActivity.py')
-rw-r--r-- | OficinaActivity.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OficinaActivity.py b/OficinaActivity.py index fdc62d7..d76664a 100644 --- a/OficinaActivity.py +++ b/OficinaActivity.py @@ -101,9 +101,11 @@ class OficinaActivity(activity.Activity): self.bg.show() #FIXME: use a textview instead of an Entry - #self._textview = gtk.TextView() - self._textview = gtk.Entry() - self._area.tool = 2 + self._textview = gtk.TextView() + # If we use this, text viewer will have constant size, we don't want that + #self._textview.set_size_request(100,100) + #self._textview = gtk.Entry() + self._fixed.put(self._area, 200 , 100) # Area size increased #self._fixed.put(self._area, 0 , 0) |