[scribus] Calendar production (was ... please help)

Michael Coughlin coughlin at cheqnet.net
Wed Oct 21 01:37:00 UTC 2015


Gregory:

Thanks for digging into this.  I didn't mean to stir up such work for you or
anyone.  Just thought there was some simple fix within the drop-down aids, a
fix that I had overlooked.

I appreciate your help.

Mike 

-----Original Message-----
From: Gregory Pittman [mailto:gpittman at iglou.com] 
Sent: Tuesday, October 20, 2015 8:32 PM
To: Scribus User Mailing List
Subject: Re: [scribus] Calendar production (was ... please help)

Here is another tweak to the CalendarWizard script.

First, a recap of the prior change I suggested:

I found that I could edit the script by adding this line:

setLineColor("Black", cel)

after line 440. Make sure it lines up vertically with

cel = createText(self.marginl ...

which is line 438.

Now, to have the names of the days of the week centered on the cells in the
grid:

Here is line 258, under 'def createCalendar(self):'

        createParagraphStyle(name=self.pStyleWeekday,
alignment=ALIGN_RIGHT)


change it to

        createParagraphStyle(name=self.pStyleWeekday,
alignment=ALIGN_CENTERED)

Greg

___
Scribus Mailing List: scribus at lists.scribus.net Edit your options or
unsubscribe:
http://lists.scribus.net/mailman/listinfo/scribus
See also:
http://wiki.scribus.net
http://forums.scribus.net






More information about the scribus mailing list