summaryrefslogtreecommitdiff
path: root/lib/extensions/print_pdf.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
committerLex Neva <github.com@lexneva.name>2018-08-21 20:50:14 -0400
commit94f391ab4262b5e1c8dace0263467a0ec1f17058 (patch)
tree8ce8836e5ac65e81b48d71615639bc0e7b9c08b9 /lib/extensions/print_pdf.py
parent038875f876d79d0f1e971886fe42f5bee4f9f31e (diff)
more pep8 fixes
Diffstat (limited to 'lib/extensions/print_pdf.py')
-rw-r--r--lib/extensions/print_pdf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/extensions/print_pdf.py b/lib/extensions/print_pdf.py
index ee3dc316..90ca83ae 100644
--- a/lib/extensions/print_pdf.py
+++ b/lib/extensions/print_pdf.py
@@ -262,7 +262,10 @@ class PrintInfoFrame(wx.Frame):
panel = wx.Panel(self)
sizer = wx.BoxSizer(wx.VERTICAL)
- text = wx.StaticText(panel, label=_("A print preview has been opened in your web browser. This window will stay open in order to communicate with the JavaScript code running in your browser.\n\nThis window will close after you close the print preview in your browser, or you can close it manually if necessary."))
+ message = _("A print preview has been opened in your web browser. "
+ "This window will stay open in order to communicate with the JavaScript code running in your browser.\n\n"
+ "This window will close after you close the print preview in your browser, or you can close it manually if necessary.")
+ text = wx.StaticText(panel, label=message)
font = wx.Font(14, wx.DEFAULT, wx.NORMAL, wx.NORMAL)
text.SetFont(font)
sizer.Add(text, proportion=1, flag=wx.ALL | wx.EXPAND, border=20)