Results 1 to 2 of 2

Thread: FormPanel toolbar when frame is set to true?

  1. #1
    Sencha - Services Team Stju's Avatar
    Join Date
    Dec 2008
    Location
    Redwood city, California
    Posts
    293

    Question FormPanel toolbar when frame is set to true?

    Is this really correct?
    I think that toolbars margin should be applied only to body, not whole inner container.
    Code:
    Ext.onReady(function(){
    
     var simple = new Ext.FormPanel({
            labelWidth: 75, 
            frame:true,
            title: 'Simple Form',
            width: 400,
            defaults: {width: 230},
            defaultType: 'textfield',
            bbar:new Ext.Toolbar({
                items:[
                    {
                        text:'aa'
                    }
                ]
            }),
         tbar:new Ext.Toolbar({
                items:[
                    {
                        text:'aa'
                    }
                ]
            }),
            items: [
                {
                    name:'koko',
                    fieldLabel:'koko',
                    value:'test'
                }
            ],
            buttons: [{
                text: 'Save'
                      },{
                text: 'Cancel'
            }]
        });
        simple.render(document.body);
    });
    Stju
    Attached Images Attached Images

  2. #2

    Default

    i have a same question

Posting Permissions

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