selfsame - 2011-02-22

I'm dynamically adding HTMLContainer objects to a parent container, but the HTMLContainer objects all resize inappropriately. I've set the percentWidth to 100, but instead of being as wide as the parent container, they shrink to the width of the widest element of the box. So a paragraph of text tends to have one word per line, as the HTMLConatiner shrinks to the width of the longest word.

I've tried a number of techniques to resize the objects, but the only thing that has seemed to make a difference is setting the absolute width. This is not an acceptable solution as I need the containers to ultimately conform to their parent container's width, though I'd like to give them a minwidth that they respect.

Please help.