Results 1 to 6 of 6

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

  1. #1
    Sencha User MD's Avatar
    Join Date
    Mar 2007
    Posts
    178
    Vote Rating
    0
      0  

    Default [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,607
    Vote Rating
    59
      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
    534
    Vote Rating
    0
      0  

    Default

    +1

  4. #4
    Sencha User MD's Avatar
    Join Date
    Mar 2007
    Posts
    178
    Vote Rating
    0
      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
      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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •