I have a UserControl in my application and a TextBox is installed on it with the Docking.Fill property
I have a situation where I dynamically increase the size of windows / forms, in this case all my controls get the size in accordance with the new ratio, but the height of my text field does not change.
Solution 1: I have to set the font size to increase the height, but the problem is that it resizes all the controls that are used in my application, and also some text in the controls overlaps.
I need another way that does not affect the font size, I can grow my TextBox to Height without using Multiline = True .
It would be great if someone helped,
source
share