set wrap WORD_CHAR and skip horizontal scrlbar
This commit is contained in:
parent
880253f9d3
commit
d4b6cb7aa6
|
@ -56,7 +56,7 @@ class ConversationTextview:
|
|||
self.tv.set_accepts_tab(True)
|
||||
self.tv.set_editable(False)
|
||||
self.tv.set_cursor_visible(False)
|
||||
self.tv.set_wrap_mode(gtk.WRAP_WORD)
|
||||
self.tv.set_wrap_mode(gtk.WRAP_WORD_CHAR)
|
||||
self.tv.set_left_margin(2)
|
||||
self.tv.set_right_margin(2)
|
||||
self.handlers = {}
|
||||
|
|
|
@ -44,7 +44,7 @@ class MessageTextView(gtk.TextView):
|
|||
self.set_accepts_tab(True)
|
||||
self.set_editable(True)
|
||||
self.set_cursor_visible(True)
|
||||
self.set_wrap_mode(gtk.WRAP_WORD)
|
||||
self.set_wrap_mode(gtk.WRAP_WORD_CHAR)
|
||||
self.set_left_margin(2)
|
||||
self.set_right_margin(2)
|
||||
self.set_pixels_above_lines(2)
|
||||
|
|
Loading…
Reference in New Issue