1. #1
    Touch Premium Member letssurf's Avatar
    Join Date
    Jan 2008
    Location
    Northampton, UK
    Posts
    88
    Vote Rating
    1
    letssurf is on a distinguished road

      0  

    Default [2.2] Form FieldSet anchor problems

    [2.2] Form FieldSet anchor problems


    I'm hoping that someone could help me out here.

    I'm trying to use anchor inside a form fieldset. I had it working on a form, but when I but items inside a fieldset it's gone a bit odd.

    Basicly what happens is the textfield resizes to match the resized window, but when the window is shrunk it stays at it's larger size. What am I missing here?

    Code:
    var testForm = new Ext.form.FormPanel({
        title: 'Test Form',
        labelWidth: 50,
        bodyStyle: 'padding:5px',
        border: false,
        frame: true,
        items: [{
            xtype: 'fieldset',
            title: 'test',
            autoHeight: true,
            items: [{
                xtype: 'textfield',
                fieldLabel: 'To',
                name: 'f_to',
                value: 'foo@bar.com',
                anchor: '-15'
            }]
        }]
    });
    
    var win = new Ext.Window({
        width: 560,
        height: 400,
        minWidth: 300,
        minHeight: 200,
        plain: true,
        title: 'Test Window',
        layout: 'fit',
        border: false,
        closable: false,
        items: testForm
    });
    win.show();
    James Demspter

    the one constant in life, is change.

  2. #2
    Ext User
    Join Date
    Apr 2007
    Posts
    2
    Vote Rating
    0
    seahigh is on a distinguished road

      0  

    Default


    I experienced the same problem.
    any news on official fix for this?

Thread Participants: 1