Label - Static width & autoresized height?
Assume you have a Label component and a text:
stringstr ="Probae etsi in segetem sunt deteriorem datae fruges, tamen ipsae suaptae enitent";
If you set:
Label1.AutoResize =true;
you will only have one row (and the label may exceed the the right bound of the form).
I wonder if anyone has a smart solution of how to get a static width and a dynamic (autoresized) height?
One solution of mine is to take measurements of the string (this.CreateGraphics().MeasureString(str, font)), and then insert"\n" to the string in the correct places.
Does anyone have a more proper solution?
Kind Regards

