Label foxed width yet able to grow according to text (autosize) in height.

Answered
0
0

Hi dear team,

I would like my label (please see the image attached) aligned (fixed width) with the text boxes, but still be able to grow according to text (autosize) in height.

Thank you!

Attachment
  • You must to post comments
Best Answer
0
0

Hi,

did you try to set a MaximumSize with the desired max width and 0 for height?

Best regards
Frank

  • You must to post comments
0
0

Yes, thankyou, but to solve the problem I did:

.MaximumSize = New Drawing.Size(Page1.OConstIntegerComponentBlockWIdth + 7, 0)
.MinimumSize = New Drawing.Size(Page1.OConstIntegerComponentBlockWIdth + 7, 0)

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.