convert ElAlign to scoped enum