1. #1
    Sencha User
    Join Date
    Mar 2008
    Posts
    27
    Vote Rating
    0
    neoart is on a distinguished road

      0  

    Default How to set textarea font size to monospace size ?

    How to set textarea font size to monospace size ?


    Dear All:
    Currently,I have a question that I want to set font of textarea class
    cause I want each letter has same size, ex: "W" & "i" or "-" should same size
    but I don't know how to configure it
    Thanks for any reply

    Best Regards.

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    17,018
    Vote Rating
    650
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Set a css style:

    Code:
    textarea
    {
       font-family: myFont
    }
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1