Results 1 to 2 of 2

Thread: Panel spacing

  1. #1
    Sencha Premium Member louiscooper's Avatar
    Join Date
    Mar 2012
    Location
    Austin, TX
    Posts
    30
    Answers
    1
    Vote Rating
    1
      0  

    Default Panel spacing

    Why is spacing so strange between panels?
    If you add more panels, you'll see inconsistant spacing.

    Code:
    items: [
    	{
    		id: 'panel1',
    		xtype: 'panel',
    		title: "Panel 1",
    		items: [{
    			id			: 'mac',
    			xtype		: 'displayfield',
    			fieldLabel	: "displayfield 1",
    			labelWidth	: 150,
    			labelAlign	: 'right'
    		}]
    	},
    	{
    		id: 'panel2',
    		xtype: 'panel',
    		title: "Panel 2",
    		items: [{
    			id			: 'mac',
    			xtype		: 'displayfield',
    			fieldLabel	: "displayfield 2",
    			labelWidth	: 150,
    			labelAlign	: 'right'
    		}]
    	}
    ]

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,409
    Answers
    716
    Vote Rating
    504
      0  

    Default

    What is the layout of your parent container? Can you provide an image of what you are seeing?

    Regards,
    Scott.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •