UI: Use alignment enums

Cleanup commit, shouldn't change anything
If you're fixing the other things too, please put a comma after the last element, makes it easier to add new things without having to change the last line of the enum too.