diff options
author | flavio <fdanesse@gmail.com> | 2012-05-10 11:23:03 (GMT) |
---|---|---|
committer | flavio <fdanesse@gmail.com> | 2012-05-10 11:23:03 (GMT) |
commit | 15398f51f80cfd079f3aff3519aa28959546f85f (patch) | |
tree | 13cdeec3d45c7e89f6b179ac81a02134646997f5 /CeibalNotifica.py | |
parent | 77a2bd62f00c16af61d629f8c0f67b1eec1a5783 (diff) |
ConfiguraciĆ³n de TextView
Diffstat (limited to 'CeibalNotifica.py')
-rw-r--r-- | CeibalNotifica.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/CeibalNotifica.py b/CeibalNotifica.py index 6005128..a5f68c4 100644 --- a/CeibalNotifica.py +++ b/CeibalNotifica.py @@ -72,7 +72,12 @@ class CeibalNotifica(gtk.Window): self.text_view = gtk.TextView(buffer=self.text_buffer) self.text_view.set_editable(False) self.text_view.set_wrap_mode(gtk.WRAP_WORD) - self.text_view.set_justification(gtk.JUSTIFY_LEFT) + self.text_view.set_justification(gtk.JUSTIFY_FILL) + self.text_view.set_pixels_above_lines(5) + self.text_view.set_pixels_below_lines(15) + self.text_view.set_pixels_inside_wrap(5) + self.text_view.set_left_margin(10) + self.text_view.set_right_margin(10) hpanel = gtk.HPaned() try: self.store = Store(db_filename="prueba.db") |