0

I have a panel like http://jsfiddle.net/7kKVc/

enter image description here

I try to move displayfield like below

enter image description here

I try hideLabel: true, but that's wrong :(

How to make that thanks

4

1 回答 1

1

尝试这个:

var filterPanel = Ext.create('Ext.panel.Panel', {
    bodyPadding: 5,  // Don't want content to crunch against the borders
    width: 300,
    title: 'Filters',
    items: [{
        xtype: 'datefield',
        fieldLabel: 'Start date'
    }, {
        hideEmptyLabel: false,
        xtype: 'displayfield',
        value: 'Limit: my value'
    }],
    renderTo: Ext.getBody()
});
于 2013-10-10T03:02:07.353 回答