Increase the gap between text and border area in textbox controls

ankit goel 766 Reputation points
2022-10-19T10:25:14.533+00:00

I want to increase the increase the gap between the written text and Bottom border of a textbox control . Please suggest me a solution .

251948-micr.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,892 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,940 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Castorix31 85,366 Reputation points
    2022-10-19T10:37:34.657+00:00

    You can set the TextBox Multiline and call EM_SETRECT
    (I used it in this sample for example)

    0 comments No comments

  2. Rijwan Ansari 746 Reputation points MVP
    2022-10-20T11:35:57.947+00:00

    Hi

    You can increase the margin, font size and try.

    252427-image.png

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.