Merge pull request #34 from somas95/master

Fix the growing window bug
gh-pages
Wolf Vollprecht 2018-02-24 09:32:19 +01:00 committed by GitHub
commit 51c45962d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -301,8 +301,8 @@ class UberwriterWindow(Window):
self.EditorAlignment.props.margin_bottom = self.alignment_padding + 30
self.EditorAlignment.props.margin_top = self.alignment_padding
self.TextEditor.set_left_margin(lm)
self.TextEditor.set_right_margin(lm)
#self.TextEditor.set_left_margin(lm)
#self.TextEditor.set_right_margin(lm)
self.MarkupBuffer.recalculate(lm)
@ -998,7 +998,7 @@ class UberwriterWindow(Window):
base_leftmargin = 40
# self.TextEditor.set_left_margin(base_leftmargin)
self.TextEditor.set_left_margin(40)
#self.TextEditor.set_left_margin(40)
self.TextEditor.props.width_request = 600
self.TextEditor.props.halign = Gtk.Align.CENTER
self.TextEditor.set_vadjustment(builder.get_object('vadjustment1'))