1. #1
    Ext User digeomel's Avatar
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    digeomel is on a distinguished road

      0  

    Question [1.1.1] Combo list height

    [1.1.1] Combo list height


    Hello,

    I have read the docs, searched the forum, looked into the source code for the combobox, but for the life of me I cannot find an easy way to set the height of the drop down list.

    The only (ugly) solution I could come up with is this:

    Code:
    <style type="text/css">
    .x-combo-list {
        height: 200px !important;
    }
    .x-combo-list-inner {
        height: 191px !important;
    }
    </style>
    Oh, and yes, I tried setting the height inside the undocumented property listClass. No luck there either, if I include the !important value then the resize handle is rendered very weird.

    Any suggestions?

    Thanks in advance.

  2. #2
    Sencha - Training Team RWaters's Avatar
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    714
    Vote Rating
    0
    RWaters is on a distinguished road

      0  

    Default


    how about the maxHeight config option?

  3. #3
    Ext User digeomel's Avatar
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    digeomel is on a distinguished road

      0  

    Default


    Quote Originally Posted by RWaters View Post
    how about the maxHeight config option?
    Doesn't work. It is being ignored.

  4. #4
    Sencha - Training Team RWaters's Avatar
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    714
    Vote Rating
    0
    RWaters is on a distinguished road

      0  

    Default


    It works when I set it. Did you leave your css additions there as well? those may be overriding it.

    Is there anything else special about your Combobox declaration?

  5. #5
    Ext User digeomel's Avatar
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    digeomel is on a distinguished road

      0  

    Default


    No, I tried it much before I resorted to the aforementioned css solution.

    If it works for you then my suspicion is that maybe it doesn't work in certain contexts, like in my case, where the combo is nested inside other elements.

    Unfortunately, I'm not at work now, so I can't send you the exact DOM hierarchy, I'll try to do it on Monday.

    Thanks for you help!

  6. #6
    Ext User digeomel's Avatar
    Join Date
    Mar 2007
    Posts
    67
    Vote Rating
    0
    digeomel is on a distinguished road

      0  

    Default


    Ok, after closer inspection in Firebug it seems that there was a conflict with another CSS rule in the document.

    You are right, maxHeight works fine, thanks!

Thread Participants: 1

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