1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    31
    Vote Rating
    0
    priyapratheep is on a distinguished road

      0  

    Default Ext.FormPanel title color

    Ext.FormPanel title color


    Hi friends

    I want title of my Ext.FormPanel in red color.

    Code:
    var projectPurchasePanel = new Ext.FormPanel({
        labelWidth: 100,
        title: 'PROJECT PURCHASE',
        frame:true,
        bodyStyle:'padding:5px 5px 0',
        width: 1090,
        defaults: {width: 1070}
    });
    how to change PROJECT PURCHASE to somecolor.

    Thanks in advance

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi priyapratheep,

    Try this code-

    Code:
    title: '<div style="color:red;">Project Purchase</div>',
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  3. #3
    Sencha User
    Join Date
    Jan 2011
    Posts
    544
    Vote Rating
    52
    willigogs is a jewel in the rough willigogs is a jewel in the rough willigogs is a jewel in the rough

      0  

    Default


    Alternatively, give the panel an ID or Class, then in your stylesheet do something like the following:
    Code:
    .yourclass .x-panel-header {color:#f00;}

  4. #4
    Sencha User
    Join Date
    Apr 2012
    Posts
    31
    Vote Rating
    0
    priyapratheep is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks a lot ....

Thread Participants: 2

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi