ALIGN_BLOCK

Previous topic - Next topic

cel

Hi,

I've got  a problem with the Scripter:

I want scribus to change the align of my text to justified align: I tryed this command:
setTextAlignment(ALIGN_BLOCK, name)

but the result is the forced block align. Equal tosetTextAlignment(ALIGN_FORCED, name)

When I execute ALIGN_LEFT
ALIGN_CENTERED
ALIGN_RIGHT
ALIGN_BLOCK
ALIGN_FORCED


The result is
0
1
2
4
4


I'm kinda confused now. Did you do this on purpose or is it just a bug?




cel

#1
Okay. Here is my workaround:
setTextAlignment(3, name)

Guess, there's a typo in the declaration.  :P