1. #11
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Two problems with this plugin:

    1. For non-wrapped components positioning, resizing and hiding will work incorrectly.
    It needs:
    Code:
    if (!this.wrap) {
        this.wrap = this.el.wrap({cls: 'x-form-field-wrap'});
        this.positionEl = this.resizeEl = this.wrap;
        this.actionMode = 'wrap';
    }
    2. For wrapped components, putting another component inside the wrap can have unwanted side-effects:
    - The ComboBox dropdown is positioned BELOW the helpText.
    - The helpText below a HtmlEditor is displayed INSIDE the border.

  2. #12
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Well spotted. I will update.

  3. #13
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Is there a good reason why ComboBox has

    Code:
            this.list.alignTo(this.wrap, this.listAlign);
    instead of

    Code:
            this.list.alignTo(this.el, this.listAlign);
    ?

  4. #14
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Because I just added overrides to align to the el to my demo of this plugin, and it aligned as expected.

  5. #15
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    87
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Funny... I created the same plugin for my company about a year ago and I also ended up patching Combobox list align.

  6. #16
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    40
    Vote Rating
    0
    jnadler is on a distinguished road

      0  

    Default


    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.3
    Last edited by jnadler; 30 Nov 2009 at 10:39 AM. Reason: add ext version

  7. #17
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    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.

  8. #18
    Ext JS Premium Member
    Join Date
    Aug 2008
    Posts
    40
    Vote Rating
    0
    jnadler is on a distinguished road

      0  

    Default


    Outstanding. Thanks, all is as expected now.

  9. #19
    Sencha User
    Join Date
    Nov 2008
    Location
    Currently Mexico
    Posts
    133
    Vote Rating
    0
    jmariani is on a distinguished road

      0  

    Default 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!

  10. #20
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,498
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    Give your x-form-helptext class a padding-left enough to clear your icon, and a non-repeating background-image of your choice.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."