Activity Toolbar Description input field wrap text, SL #3586
Signed-off-by: Gary C. Martin <garycmartin@googlemail.com Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
parent
1beb8757c1
commit
433c6391ec
@ -234,6 +234,7 @@ class DescriptionItem(Gtk.ToolItem):
|
||||
self._text_view = Gtk.TextView()
|
||||
self._text_view.set_left_margin(style.DEFAULT_PADDING)
|
||||
self._text_view.set_right_margin(style.DEFAULT_PADDING)
|
||||
self._text_view.set_wrap_mode(Gtk.WrapMode.WORD_CHAR)
|
||||
text_buffer = Gtk.TextBuffer()
|
||||
if 'description' in activity.metadata:
|
||||
text_buffer.set_text(activity.metadata['description'])
|
||||
|
Loading…
Reference in New Issue
Block a user