-
22 Aug 2009 3:38 AM #11Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 43
Two problems with this plugin:
1. For non-wrapped components positioning, resizing and hiding will work incorrectly.
It needs:
2. For wrapped components, putting another component inside the wrap can have unwanted side-effects:Code:if (!this.wrap) { this.wrap = this.el.wrap({cls: 'x-form-field-wrap'}); this.positionEl = this.resizeEl = this.wrap; this.actionMode = 'wrap'; }
- The ComboBox dropdown is positioned BELOW the helpText.
- The helpText below a HtmlEditor is displayed INSIDE the border.
-
22 Aug 2009 3:46 AM #12
Well spotted. I will update.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
22 Aug 2009 3:51 AM #13
Is there a good reason why ComboBox has
instead ofCode:this.list.alignTo(this.wrap, this.listAlign);
?Code:this.list.alignTo(this.el, this.listAlign);
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
22 Aug 2009 3:55 AM #14
Because I just added overrides to align to the el to my demo of this plugin, and it aligned as expected.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
22 Aug 2009 3:56 AM #15Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 43
Funny... I created the same plugin for my company about a year ago and I also ended up patching Combobox list align.
-
30 Nov 2009 10:38 AM #16
This plugin is great, thanks Animal. I'm noticing one problem: on fields which have *both* anchor and this plugin, the anchor is not taking effect.
The x-form-field-wrap DIV has the correct width as set by the anchor.
The width did not get applied to the input box (it does when the plugin is removed).
So somehow this is defeating AnchorLayout. Anybody have a suggestion for where I might look next?
Note: Ext 3.0.3Last edited by jnadler; 30 Nov 2009 at 10:39 AM. Reason: add ext version
-
1 Dec 2009 2:34 AM #17
OK, I updated post 1.
If it wraps the input, and changes the resizeEl to be the wrapper, it has to sync the size of the input field whenever it gets resized.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642
-
1 Dec 2009 9:04 AM #18
Outstanding. Thanks, all is as expected now.
-
19 Jan 2010 4:11 PM #19
Info icon.
Info icon.
Hi, Animal.
Outstanding plugin!.
I want to add to the left of the text a small "info" icon, but I'm really not CSS proficient. Any chance you can add tis feature or guide me on how to add it?
TIA!
-
20 Jan 2010 12:58 PM #20
Give your x-form-helptext class a padding-left enough to clear your icon, and a non-repeating background-image of your choice.
Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
Scope: http://extjs.com/forum/showthread.ph...642#post257642


Reply With Quote