When creating a window and attaching an object it is possible to specify a second parameter that sizes the window to fit the object. However there are times when I need to change the content and/or size of the
that has already been attached and would like to get the window to re-size to fit these changes. I don’t see any public method to do this and using setDimension requires that I know the new size. Is there any way to do this?