[2.2] Form FieldSet anchor problems

January 7th, 2009   Filed Under naaktbelgisch.com   edit

  • 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?


    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();


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







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about [2.2] Form FieldSet anchor problems , Please add it free.