1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
    PhilChill is an unknown quantity at this point

      0  

    Default Unanswered: list in fieldset

    Unanswered: list in fieldset


    Hey guys,

    i want to add a list to a fieldset. I found this thread http://www.sencha.com/forum/showthre...st-in-fieldset but it was not working when i set the layout to fit. The problem is that the fieldset is not complete shown. There is just a line where the fieldset should be.

    My code is:
    Code:
    {	    xtype: 'fieldset', //fieldset for labels
    	    layout : 'fit',
    	    items: [   
    	    {
    		xtype: 'list',
    		itemTpl: '{title}',
    		data: [
    		    { title: 'Item 1' },
    		    { title: 'Item 2' },
    		    { title: 'Item 3' },
    		    { title: 'Item 4' }
    		],
    		listeners:{
    		    painted:function(){
    			console.log('paint list');
    		    }
    		}
    	    },
    	    {
    		xtype: 'selectfield',
    		id: 'addLabel',
    		label : 'Add Label', 
    		name : 'addLabel'
    	    }
    	    ]
    	},
    Has somebody an idea what i'm doing wrong

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    73
    Vote Rating
    -1
    PhilChill is an unknown quantity at this point

      0  

    Default


    I solve my problem i had a little mistake in my code

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    9
    Vote Rating
    0
    datchayani is on a distinguished road

      0  

    Default List in fieldset

    List in fieldset


    how do you solve that issue

Thread Participants: 1

Tags for this Thread