I have template configured which displays text. For the textblock component alignment property is binded to show text at various position in the rectangle i.e Top Left, Top Center, Top Right, Middle Left, Middle Center, Middle Right, Bottom Left, Bottom Right and Bottom Center etc.
At the same time, my rectangle contains some small image internally (Like in BPMN User Task, Manual Task etc) shown in top left corner.
I also provided the margin property which is binded for textblock object.
What happens now is when alignment is set to “TopLeft” it gets overlaps with the image. Setting margin moves the text in diagnoal direction. What I need to specify is only margin for Left or Top.
Also note that, the alignement, margin properties are binded and configured through another UI. So when user specifies margin “10,5,10,10” it is taking 10 for all sides …
Gone through API help, and according to it setter always accept a number. Can this be fixed in next release ?