-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adjust tooltip position when Tooltip.TOP #16
Comments
Hi, Thanks for reporting the issue. I'll look into it and get back to you. Would it be possible for you to post the code snippet related to the tooltip usage? |
@david-serrano As you can see, the demo seems to work correctly. Maybe there's some padding around your buttons? Try checking with |
Hi Jayrambhia, i solved the issue by forking your repository and modifying line 301 in the Tooltip class to be |
My suggestion would be to add the padding variable as a user definable value. I will try and do this when i find some time and open a pull request :) |
Hi there,
Whenever i use the Tooltip.TOP attribute for positioning a tooltip above the view, there is always quite a bit of space underneath it. However when using Tooltip.BOTTOM, there is no space between the view and the tooltip. Is there a way to adjust the positioning?
I tried adjusting the margins of the Tooltip Viewgroup by getting a Tooltip instance from show() to move it up and down from it's initial position but to no avail.
Screenshot attached for more info.
The text was updated successfully, but these errors were encountered: