container control width?

I have a webContainer control and within it is a WebTextField.
How do I know how big (Width/Height) the WebContainer control needs to be to be able to see all the text in the WebTextField?