>All,
>
>I am creating a builder. I have a class consists of a label and a textbox in a container. The builder adjusts the distance between the label and the textbox and sizes the container. I instantiate the container on a form and set the label caption. If the label in the container is visible, all is well. If the label is moved off the left side of the form, the form is saved and reedited, the label width is the default width (the width of the parent's label)
Are you depending on the Label.Autosize property to size your label? If so, you are seeing a known bug with that property. The workaround that I use is to set autosize temprarily, turn it back off, and adjust the width by one pixel. This last little adjustment is usually enough to make the size stick.
Erik Moore
Clientelligence