Author Topic: ALIGN_BLOCK  (Read 2029 times)

cel

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
ALIGN_BLOCK
« on: March 31, 2011, 07:20:30 pm »
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:
Code: [Select]
setTextAlignment(ALIGN_BLOCK, name)
but the result is the forced block align. Equal to
Code: [Select]
setTextAlignment(ALIGN_FORCED, name)
When I execute
Code: [Select]
ALIGN_LEFT
ALIGN_CENTERED
ALIGN_RIGHT
ALIGN_BLOCK
ALIGN_FORCED

The result is
Code: [Select]
0
1
2
4
4

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




cel

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: ALIGN_BLOCK
« Reply #1 on: April 01, 2011, 07:05:27 pm »
Okay. Here is my workaround:
Code: [Select]
setTextAlignment(3, name)
Guess, there's a typo in the declaration.  :P
« Last Edit: April 01, 2011, 07:09:34 pm by cel »

 

palmate