Manage correctly xalign for label

review12361002
Correctly manage affix name from attributes

issue3982
review10361002