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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar