Skip to content
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

Tooltip not shown when no maxWidth #130

Open
mtrakal opened this issue Apr 10, 2019 · 1 comment
Open

Tooltip not shown when no maxWidth #130

mtrakal opened this issue Apr 10, 2019 · 1 comment

Comments

@mtrakal
Copy link

mtrakal commented Apr 10, 2019

current source code, from today.

comment in demo app:
MainActivity.kt -> // .maxWidth(metrics.widthPixels / 2)
and set Too long text (two lines), after no Tooltip is shown. It wrongly calculate size of tooltip window and not shown any tooltip when tooltip is too wide.

Tooltip.kt:632 findPosition return null in this case.

@Dararii
Copy link

Dararii commented Apr 15, 2019

yes, I have same issue. We have to define max width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants