I have a label that shows the file name .. I had to set AutoSize
of the label to False
for designing.
So when the file name text got longer than label size.. it got cut like in the picture.
label1.Size = new Size(200, 32);
label1.AutoSize = false;
How do I re-size the text automatically to fit the label size, when the text is longer than the label size?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…