It wasn't very elegant to have to keep track of the ui container hierarchy so they could be aligned in the right order. This is a pretty simple fix to that problem.
uses flags to construct id from type hierarchy
allows for downcasting (like in the case of Container::align())
It wasn't very elegant to have to keep track of the ui container hierarchy so they could be aligned in the right order. This is a pretty simple fix to that problem.