1. #1
    Ext User
    Join Date
    Feb 2009
    Posts
    34
    Vote Rating
    0
    Naokai is on a distinguished road

      0  

    Question Panel (Layout hbox) problem with resizing the Ext.ux.form.MultiSelect items?

    Panel (Layout hbox) problem with resizing the Ext.ux.form.MultiSelect items?


    Hello again,

    im not 100% sure but i guess there is a problem with the resizing of multiselect items which are in a panel with the layout type: hbox.

    here is my (not working so well) example

    PHP Code:
    multiSelectCustomer = new Ext.ux.form.MultiSelect ({
        
    id'customer',
        
    name'customer',
        
    storestoreCustomer,
        
    valueField'marktnummer',
        
    displayField"Ort",
        
    blankText'No customers to display',
        
    //width: 364,
        //height: 270
    })

    multiSelectProduct = new Ext.ux.form.MultiSelect ({
        
    id'product',
        
    name'product',
        
    storestoreProduct,
        
    valueField'Medianummer',
        
    displayField'artikelname',
        
    blankText'No products to display',
        
    //width: 364,
        //height: 270
    })

        
    spanel = new Ext.Panel ({
            
    id'spanel',
            
    title'just a test',
            
    layout'hbox',
            
    layoutConfig: {
                
    align'stretch',
                
    pack'start'
            
    },
            
    defaults: {
                
    flex:1
            
    }
        })

        
    /*** push MultiSelect into the spanel ***/
        
    arrMultiSelect = new Array();
        
    arrMultiSelect.push(multiSelectCustomer);
        
    arrMultiSelect.push(multiSelectProduct);
        
    spanel.add(arrMultiSelect); 
    I would be thankful for any help!
    Best Regards Lars
    Attached Images
    Last edited by Naokai; 12 Jan 2011 at 12:52 AM. Reason: added a picture for better understanding

  2. #2
    Ext User
    Join Date
    Feb 2009
    Posts
    34
    Vote Rating
    0
    Naokai is on a distinguished road

      0  

    Default


    push, no suggestions?

  3. #3
    Touch Premium Member msuresh's Avatar
    Join Date
    Dec 2007
    Location
    Bangalore, India
    Posts
    220
    Vote Rating
    1
    msuresh is on a distinguished road

      0  

    Default


    Did you try autoWidth:true ?

  4. #4
    Ext User
    Join Date
    Feb 2009
    Posts
    34
    Vote Rating
    0
    Naokai is on a distinguished road

      0  

    Default


    yeah tryed it now but it didnt helped

Similar Threads

  1. Align items in layout HBOX
    By aperez in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 6 Aug 2010, 3:17 AM
  2. [FIXED-624]Error with Ext.form.ComboBox and hbox layout
    By dhurlburtusa in forum Ext 3.x: Bugs
    Replies: 8
    Last Post: 2 Mar 2010, 10:51 AM
  3. Replies: 5
    Last Post: 20 Jan 2010, 9:12 AM

Thread Participants: 1

Tags for this Thread