TextBox cannot adjust height size

2 posts, 0 answers
  1. ngocvinhxt
    ngocvinhxt avatar
    1 posts
    Member since:
    May 2007

    Posted 17 May 2007 Link to this post

    Default height size of TextBox's so small. But I cannot adjust this size. How can I resize it.
    Thanks a lot
    Vinh
  2. Angel
    Admin
    Angel avatar
    121 posts

    Posted 18 May 2007 Link to this post

    Hello Bui Ngoc Vinh,

    There are 2 possible ways to size the TextBox depending on its Multiline property.

    1. Multiline = false
      Only the width of the TextBox can be changed in this case (the standard TextBox cannot be sized vertically either in that case). To change the width just drag the right or left border of the control.
      Here, the height of the text box is determined by the font size.
      If RadTextBox seems too thin you can set some Padding for the text element. To do so open the ActionList for the text box and click on "Edit UI elements". Then select RadTextBoxElement and set its property Padding (see attached screenshot).
       
    2. Multiline = true
      In this mode the height of the text box can be of any value thus allowing different number of rows in it.

    Please inform us if your case is different than the described above.


    Sincerely yours,

    Angel

    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top