1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    1
    Vote Rating
    0
    cookie is on a distinguished road

      0  

    Default Width of ComboBox in GXT

    Width of ComboBox in GXT


    I would like to ask how to change, width of GXT's ComboBox (com.extjs.gxt.ui.client.widget.form.ComboBox). I thought it's trivial but after few trying i realize that it is specified minimal width of this form, but I there will be only one char, and I would like to make it smaller. How to do this?
    I tried sth like
    <code>setMinListWidth(30);</code>
    but it doesn't work

    I'm very sorry if it's something trivial, but I can't do this.

    Thank's a lot.

  2. #2
    Sencha User
    Join Date
    Jul 2011
    Posts
    4
    Vote Rating
    0
    charro is on a distinguished road

      0  

    Default


    Actually, after 2 years from your post nobody answered it and I am facing the same problem. I found that setting AutoWidth property to true the dropdown list is autosized but not the combobox itself, that is what I want to do also.

  3. #3
    Sencha User
    Join Date
    Jun 2011
    Posts
    5
    Vote Rating
    0
    lindsay.thurmond is on a distinguished road

      0  

    Default


    Setting the width on the form panel worked for me.

    PHP Code:
    FormPanel formPanel = new FormPanel();
    formPanel.setFieldWidth(100); 

Thread Participants: 2

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