Offset in y position for text element.
I'm trying to add an offset for a text element in y position. The corresponding part in my macro are lines below. However, the commands with offsetX and offsetY don't seem to have any effect. What am I doing wrong? Thanks for your help! The whole macro is attached. Cheers, Philipp
var text = newElement(Element.STAFF_TEXT);
text.text = fontSizeTag+fingering;
text.offsetY = (cursor.element.notes.length - 1)*offsetFactor;//yPos;
text.placement = textposition;
text.autoplace = false;