I'm trying to figure out how I can get the minumum height required for a
textbox containing a string in a given font with a set width and also the
converse, the minimum required width of a textbox with a set height.
I want a textbox that is resized to fit the text inside with either the
height or width locked. Anybody have a suggestion on how I might go about
doing that?