[CLOSED] How to change font style and font size of ext:TextArea?

  1. #1

    [CLOSED] How to change font style and font size of ext:TextArea?

    I tried with both FieldStyle and StyleSpec. It is not working

                    <ext:Panel ID="PanelDBScript" runat="server" Title="Script">
                        <Items>
                            <ext:TextArea ID="txtAreaDBScript" runat="server" Grow="true" Width="1800" Height="400" EnableKeyEvents="true" FieldStyle="font-size:20px">
                            </ext:TextArea>
                        </Items>
                    </ext:Panel>
    Last edited by geoffrey.mcgill; Mar 27, 2014 at 2:28 PM. Reason: [CLOSED]
  2. #2

    Fixeed it with Cls property.

    Applied following style to Cls property of TextArea and fixed it.

    .large-font  .x-form-textarea{
                font-size: 16px !important;
                font-family:'Courier New'
            }
    Last edited by geoffrey.mcgill; Mar 27, 2014 at 2:28 PM. Reason: Please use [CODE] tags

Similar Threads

  1. Replies: 4
    Last Post: Jul 25, 2013, 8:51 AM
  2. [CLOSED] change button font color and size
    By Pablo_Azevedo in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 16, 2013, 8:50 PM
  3. GridPanel - Change Font Size
    By jlucid in forum 2.x Help
    Replies: 0
    Last Post: Jan 06, 2013, 12:20 AM
  4. Font Size Change
    By megang in forum 1.x Help
    Replies: 1
    Last Post: Apr 09, 2012, 10:02 AM
  5. Change font/button size
    By plykkegaard in forum 1.x Help
    Replies: 0
    Last Post: Sep 02, 2010, 3:09 PM

Tags for this Thread

Posting Permissions