-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Multi-line Tooltip positioning #333
Milestone
Comments
Yes, that is not optimal... BTW I love those short code snippets to reproduce issues. |
As do I. +1 |
DevCharly
added a commit
that referenced
this issue
Jun 12, 2021
fixed in main branch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all!
We have multiline tooltips that can be huge.
In our windows L&F implementation, we have a multi-line implementation of BasicToolTipUI and we rely on the Look & Feel to place the tooltip. The tooltip can occupy a certain amount of space, sometimes even appearing under the mouse, but the beginning of the tooltip is always on screen.
When switching to FlatLaf, it seems to always place such huge tooltip above:
I think the strategy should be reviewed to always show the beginning of the tooltip (essentially forcing the x and y positions to 0 when they become negative). Having the bottom of the tooltip is useless (main information is generally first in tooltip).
Sample test case:
The text was updated successfully, but these errors were encountered: