aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaelx386 <michaelx386@gmail.com>2015-04-03 10:38:12 +0100
committermichaelx386 <michaelx386@gmail.com>2015-04-03 10:38:12 +0100
commit0c67ec55781b12c0f6b194073f62833e460dd615 (patch)
treeea25be26765b2a1695184c9da56ecb0aeddbeb28
parent1eadd7485573843b2ac5e5f5dbd5005d827cded1 (diff)
downloadscreenplain-0c67ec55781b12c0f6b194073f62833e460dd615.tar.gz
Right align transitions in PDF output
-rw-r--r--screenplain/export/pdf.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/screenplain/export/pdf.py b/screenplain/export/pdf.py
index ee038b1..5f4380f 100644
--- a/screenplain/export/pdf.py
+++ b/screenplain/export/pdf.py
@@ -22,7 +22,7 @@ from reportlab.platypus import (
from reportlab import platypus
from reportlab.lib.units import inch
from reportlab.lib.styles import ParagraphStyle
-from reportlab.lib.enums import TA_CENTER
+from reportlab.lib.enums import TA_CENTER, TA_RIGHT
from screenplain.types import (
Action, Dialog, DualDialog, Transition, Slug
@@ -91,6 +91,7 @@ transition_style = ParagraphStyle(
'transition', default_style,
spaceBefore=12,
spaceAfter=12,
+ alignment=TA_RIGHT,
)
# Title page styles