Skip to content

Commit

Permalink
Update welcomegramplet.py - add margin
Browse files Browse the repository at this point in the history
add some white space between the left/right text box borders and the text glyphs

see
https://gramps.discourse.group/t/what-can-i-do-to-help-fix-unpadded-text-gramplets/2293/2
  • Loading branch information
emyoulation authored Sep 10, 2023
1 parent 9da6433 commit b1b0244
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gramps/plugins/gramplet/welcomegramplet.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def build_gui(self):
self.texteditor = StyledTextEditor()
self.texteditor.set_editable(False)
self.texteditor.set_wrap_mode(Gtk.WrapMode.WORD)
self.texteditor.set_left_margin(6)
self.texteditor.set_right_margin(6)
scrolledwindow.add(self.texteditor)

self.display_text()
Expand Down

0 comments on commit b1b0244

Please sign in to comment.