I saw that you did put "alignment right" for the empty spacer object and a transfrom/ padding right to solve the problem. Still wondering why this has to be so complicated but thanks for the solution !
I must explain this. In RailClone 2.2.1 we fixed a bug related with the size of empty segments. Copied from the release notes:
- Fixed: length of Left Padding on empty segments is double as intended.
Note: to keep compatibility with existing scenes, this fix is applied only in styles created with v.2.2.1 or above.
All RC objects created with RC 2.2.0 and before work in the old way (with the bug). You can check if the fix is being applied or not using Maxscript:$.createdversion
If this value is 221 (from RC 2.2.1) or greater, the padding of empty segments is computed correctly.
So, in this case you could use an empty segment with Left + Right padding, or alternatively using "Fixed Size", and it will be centered correctly.
To "upgrade" an old RC object, just update the parameter:$.createdversion = 250
(or any other value greater than 220).
Hope i have clarified this issue.