Results 1 to 3 of 3

Thread: [Solved] Font size of Combobox list ?

  1. #1
    Ext User ritesh.kapse's Avatar
    Join Date
    May 2008
    Location
    Pune, India
    Posts
    120
    Vote Rating
    0
      0  

    Post [Solved] Font size of Combobox list ?

    Hi all,

    I am having multiple combo boxex in a single page :-

    Among them I need to change font size of only one combo box:-

    I tried using:-

    1)
    Code:
    listClass:'my-combo-lst',
    where

    .my-combo-lst {
    font-size: 10;
    }



    and


    2)
    Code:
    #comboboxId .x-combo-list-item {
        border:1px solid #FFFFFF;
        font-family:tahoma,arial,helvetica,sans-serif;
        font-size:10px; 
        font-size-adjust:none;
        font-stretch:normal;
        font-style:normal;
        font-variant:normal;
        font-weight:normal;
        line-height:normal;
        overflow:hidden;
        padding:2px;
        white-space:nowrap;
    }
    But both of them are not working.

    In case 1 :- x-combo-list-item is overiding my-combo-lst
    In case 2 :- It changes font sizes of all the combo boxex.


    Any suggestions ?

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    120
      0  

    Default

    Use:
    Code:
    listClass: 'my-combo-lst'
    with:
    Code:
    .my-combo-lst .x-combo-list-item{font-size:10px;}

  3. #3
    Ext User ritesh.kapse's Avatar
    Join Date
    May 2008
    Location
    Pune, India
    Posts
    120
    Vote Rating
    0
      0  

    Thumbs up Thanks !

    thanks condor... it worked

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •