UniSizer is a framework for sizing UI components, but coded in a GUI-agnostic manner. It handles initial layout, dynamic sizing, and dynamic addition or removal of UI components. It also supports the addition of new sizing rules by the end-programmer.