13 Dec 2010 10:27 PM #1
[OPEN] Issues with setting default Anchors.
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.
14 Dec 2010 11:35 AM #2
- Join Date
- Mar 2007
- Frederick, MD
- Vote Rating
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.
14 Dec 2010 4:21 PM #3
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.
By venu in forum Ext 3.x: Help & DiscussionReplies: 1Last Post: 10 Aug 2009, 2:56 AM
By treadmill in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 22 May 2009, 7:21 AM
By venu in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 12 Feb 2009, 2:49 AM
By psambhus in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 10 Jul 2008, 11:11 PM
By DCS in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 26 Jun 2008, 3:32 AM