I wrote a painful script (yes painful) to allow any storage width and height to be displayed correctly. It even centers the buttons nicely. Check out the cool examples below.
I figured it would be fun to share this script with everyone. Probably important to show you people that I'm not just sitting around doing nothing all day.
Just to clarify... there is a lot more to displaying these inventory boxes and interacting with the archetype objects than what is in the script above.