Forum /
Sencha Touch 2.x Forums /
Sencha Touch 2.x: Q&A /
Unanswered: Is there an way to turn Tip element off cleanly for exact showBy placement?
Unanswered: 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.
Sencha - Senior Forum Manager
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.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us