How do I change the height of a textbox ?
Neither of the below work:
this.TextBox1.Size = new System.Drawing.Size(173, 100);
I think this should work.
TextBox1.Height = 100;
There are two ways to do this :
I believe it is the only ways to do it; the bigger font size should automatically fit with the textbox
Just found a great little trick to setting a custom height to a textbox.
In the designer view, set the minimumSize
to whatever you desire, and then completely remove the size
setting. This will cause the designer to update with the new minimum settings!