This is a migrated thread and some comments may be shown as answers.

TextBox cannot adjust height size

1 Answer 2091 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
ngocvinhxt
Top achievements
Rank 1
ngocvinhxt asked on 18 May 2007, 04:32 AM
Default height size of TextBox's so small. But I cannot adjust this size. How can I resize it.
Thanks a lot
Vinh

1 Answer, 1 is accepted

Sort by
0
Angel
Telerik team
answered on 18 May 2007, 04:01 PM
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
Tags
TextBox
Asked by
ngocvinhxt
Top achievements
Rank 1
Answers by
Angel
Telerik team
Share this question
or