-
Notifications
You must be signed in to change notification settings - Fork 278
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
Gravity.TOP not honored with fitToScreen=True #135
Comments
Is this issue fixed? I am facing this issue. Any solution to achieve like the first image and if gravity is bottom then same like first image only tooltip will be bottom. Any help would be appreciated. Thanks |
Any updates on this? My anchor view is found on the upper right corner of the screen, and the tooltip should popup below that view. The tooltip gets cut off. Thanks! |
Any update for this issue? |
I fixed this issue using |
In versions release-2.0.1 and above, when displaying a tooltip above a view near the right margin, sending fitToScreen=True will cause that tooltip to be displayed alongside the view, instead of staggered above it.
Seems like fitToScreen flag is a newer option, as I don't see it being used in our client using version 1.3.15.
We cannot upgrade to the latest version with the tooltip truncated on the right hand side, or with it obscuring icons to the left of the anchor view.
See below examples:

correctGravity_1_3_15 . <--from release 1.3.15, works great
tooltipTruncated_2_0_3 <--from release 2.0.3, truncated since we send fitToScreen=false

TooltipGravityTopFail_2_0_3 <--release 2.0.3, Gravity to the left, even though sending Gravity.TOP and fitToScreen=true

I will attempt to fix and submit a PR.
The text was updated successfully, but these errors were encountered: