UI: Use alignment enums

Cleanup commit, shouldn't change anything
The `break;`s are kinda hard to see, maybe put them on their own line.