1. #1
    Sencha User MD's Avatar
    Join Date
    Mar 2007
    Posts
    178
    Vote Rating
    0
    MD is on a distinguished road

      0  

    Default [Feature Req] Support for the Offsets Array in Menu's "alignTo", Button's "menuAlign"

    [Feature Req] Support for the Offsets Array in Menu's "alignTo", Button's "menuAlign"


    I've encountered this now a few times, and never understood why Menu's "defaultAlign" and Button's "menuAlign", etc. config option only supports the positions string part of Ext.Element.alignTo.

    It would be helpful to also be able to specify the offsets array and even the animate bool/obj.

    alignTo( Mixed element, String position, [Array offsets], [Boolean/Object animate] ) : Ext.Element
    I often have Menu's that I don't want aligning absolutely flush with their aligning elements.

    MD

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

      0  

    Default


    I agree. It would be a very easy enhancement to add a defaultAlignOffset config. There's no animation, menus are just shown using showAt()

  3. #3
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    528
    Vote Rating
    0
    Eric24 is on a distinguished road

      0  

    Default


    +1

  4. #4
    Sencha User MD's Avatar
    Join Date
    Mar 2007
    Posts
    178
    Vote Rating
    0
    MD is on a distinguished road

      0  

    Default


    Any chance we could slip this one in before 3.0 final?

    MD

  5. #5

  6. #6
    Sencha User
    Join Date
    Oct 2013
    Posts
    5
    Vote Rating
    0
    kschaffe is on a distinguished road

      0  

    Default


    I know this post is extremely old but what is the solution to this in 4.2? The link here does not work for me. Thanks

Thread Participants: 3