What am I doing wrong with the script.
What am I doing wrong with the script. Box left alignment is not fixed through the script. However, when I open the editor, I find that left alignment is selected and when I just click on it again, the alignment is fixed. See the short video.
var item = LL.getEvent().getItem();
var editor = item.getProperties().edit();
var box = editor.getBox(“i.box”);
box.setAlignment(“LEFT”,”MIDDLE”);
editor.commit();
]]>« Somehow i did the imposible in b9. (Previous Post)
< ![CDATA[
This is probably a bug in the current beta where changes made to the box settings are not propagated to all components of the item (in this case the text). I will fix this for the next update.
]]>
< ![CDATA[
Thanks Pierre Hébert
]]>