aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2015-04-03 14:53:46 +0200
committerMartin Vilcans <martin@librador.com>2015-04-03 14:53:46 +0200
commit6fa300570239d8709f1cecb94fdac3fd85900adc (patch)
treeea25be26765b2a1695184c9da56ecb0aeddbeb28
parent1eadd7485573843b2ac5e5f5dbd5005d827cded1 (diff)
parent0c67ec55781b12c0f6b194073f62833e460dd615 (diff)
downloadscreenplain-6fa300570239d8709f1cecb94fdac3fd85900adc.tar.gz
Merge pull request #12 from michaelx386/right-align-transitions
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