r20483 by gpittman -

scribus-commit scribus-commit at lists.scribus.net
Wed Oct 21 23:58:04 UTC 2015


Author: gpittman
Date: Wed Oct 21 23:58:04 2015
New Revision: 20483

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20483
Log:
minor changes in CalendarWizard.py to show borders of frames

Modified:
    trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py

Modified: trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20483&path=/trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py	(original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/scripts/CalendarWizard.py	Wed Oct 21 23:58:04 2015
@@ -255,7 +255,8 @@
         if not newDocDialog():
             return 'Create a new document first, please'
         createParagraphStyle(name=self.pStyleDate, alignment=ALIGN_RIGHT)
-        createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_RIGHT)
+        createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_CENTERED)
+#        createParagraphStyle(name=self.pStyleWeekday, alignment=ALIGN_RIGHT) # original alignment
         createParagraphStyle(name=self.pStyleMonth)
         createParagraphStyle(name=self.pStyleWeekNo, alignment=ALIGN_RIGHT)
         originalUnit = getUnit()
@@ -438,6 +439,7 @@
                 cel = createText(self.marginl + colCnt * self.colSize,
                                  self.calHeight + rowCnt * self.rowSize,
                                  self.colSize, self.rowSize)
+		setLineColor("Black", cel)  # comment this out if you do not want border to cells
                 colCnt += 1
                 if day.month == month + 1:
 					setText(str(day.day), cel)




More information about the scribus-commit mailing list