Use custom font for MessageTextView
This commit is contained in:
parent
ab60bcbe85
commit
f50f22c4bd
|
@ -51,6 +51,7 @@ class MessageTextView(Gtk.TextView):
|
||||||
self.set_right_margin(2)
|
self.set_right_margin(2)
|
||||||
self.set_pixels_above_lines(2)
|
self.set_pixels_above_lines(2)
|
||||||
self.set_pixels_below_lines(2)
|
self.set_pixels_below_lines(2)
|
||||||
|
self.get_style_context().add_class('font_custom')
|
||||||
|
|
||||||
# set undo list
|
# set undo list
|
||||||
self.undo_list = []
|
self.undo_list = []
|
||||||
|
|
Loading…
Reference in New Issue