PDA

View Full Version : [OPEN] Issues with setting default Anchors.



tfrjennings
13 Dec 2010, 10:27 PM
Hello All,

I have been working on a few form projects lately and am having an issue with setting default anchors in forms. Basically, I can't. I have tried setting them at FormPanel, Container and Fieldset levels, both using the defaultAnchor and defaults attributes (Done in Ext Designer).

Can anyone help me out with getting this to work?

I have a attached an example.

Cheers,
Brad

jarrednicholls
14 Dec 2010, 11:35 AM
I'll take a look at your project file and get back to you. In the meantime, do you know if your form fields still have their explicit "anchor" property set? Form fields will get an anchor of "100%" by default in the Designer, and I do believe they will override defaultAnchor setting.

tfrjennings
14 Dec 2010, 4:21 PM
Hey Jarred,

Thanks for taking a look! Basically, we have set a few explicit anchors, but are not being successful in setting a default using either defaultAnchor or defaults. It really is a very weird situation!

If you need any extra info just let me know.

Cheers,
Brad