change the height of a textfiel

  1. #1

    change the height of a textfiel

    Dears Friends,


    How can I change the height of a textfiel?

    Thanks in advance.

    Gustavo Coelho
  2. #2
    Hello! ext:TextField is meant to be one line high. The component having several lines and supporting line breaks would be an ext:TextArea.

    Otherwise, if you really want to fiddle with the textfield, you can:
    - change it via CSS, either creating a CSS class and binding it to the field with Cls="className",
    - just inspect the textfield's DOM with your browser's debugging tools and get which classes you want to override (and, of course do override them for your liking)
    - inline-specify CSS classes with StyleSpec

    As for text field height, you'll probably want toget the textField's inputEl DOM component and style it.

    Hope that helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3

    [CLOSED]

    Thanks for your help!

Similar Threads

  1. Replies: 0
    Last Post: Jun 22, 2016, 8:07 PM
  2. [CLOSED] How change height TextField
    By grupoantolin in forum 4.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 08, 2016, 5:03 PM
  3. How change height TextField
    By sishco in forum 4.x Help
    Replies: 1
    Last Post: May 05, 2016, 3:50 PM
  4. [CLOSED] can not change height for ext:ComboBox
    By Fahd in forum 2.x Legacy Premium Help
    Replies: 12
    Last Post: May 14, 2015, 7:55 PM
  5. clear all text in textfiel+inputmask
    By asics167 in forum 2.x Help
    Replies: 3
    Last Post: Dec 18, 2013, 6:02 AM

Posting Permissions