Whenever you change the StringAlign option in a meter dinamically, either using SetOption or SetVariable + DynamicVariables, the anchor point of the string meter does change, but the actual alignment doesn't change from the initial value (which is either the initial value of the variable used or the set value for the StringAlign option of that meter).
Here's the initial setup:
Now I use a custom context option to change the alignment of the string meters:
The code for that context option is the following:
Code: Select all
ContextTitle4=Right align
ContextAction4=[!SetVariable TextHorizontalAlignment Right] [!UpdateMeter *] [!UpdateMeter *] [!Redraw]
As you can see, the anchor point changes like it should, but the actual alignment of the string meter with multiple lines doesn't change.
Is it just a bug or am I forgetting something? Before you reply, please check the code of the skin. I've attached it with this post.