Results 1 to 2 of 2

Thread: Is there an way to turn Tip element off cleanly for exact showBy placement?

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    28
    Answers
    1
    Vote Rating
    2
      1  

    Default Is there an way to turn Tip element off cleanly for exact showBy placement?

    I've used the following css to successfully hide the tip element when displaying a sheet:

    .x-anchor {
    width: 0px;
    height: 0px;
    display: none;
    }

    This works to hide the Tip but calculations performed during showTo (actually the alignTo method called inside it), cause my sheet to be offset slightly from the exact position I want it.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    There is no config to turn this off, not using the anchor.

    You can override the alignTo method to shift it but that may be a mess to maintain for any future releases if that method gets changed.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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