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

Tooltips go off-screen #1224

Closed
rdbende opened this issue Nov 27, 2022 · 4 comments · Fixed by #1412
Closed

Tooltips go off-screen #1224

rdbende opened this issue Nov 27, 2022 · 4 comments · Fixed by #1412

Comments

@rdbende
Copy link
Collaborator

rdbende commented Nov 27, 2022

image

@Moosems
Copy link
Contributor

Moosems commented Jun 29, 2023

You can borrow the placement code from DIP's tooltip, I developed it with Akuli so I hope it lives up to his standards.

@Akuli
Copy link
Owner

Akuli commented Jun 29, 2023

yes, I like how simple we eventually got DIP's tooltip logic :)

Though for these tooltips it could be even simpler. We could e.g. always show the tooltip above and to the left, there's always room.

@Moosems
Copy link
Contributor

Moosems commented Jun 29, 2023

Thank you for your help with that by the way, it was tremendously useful.

@lawson89
Copy link
Contributor

I can grab this one - I'll submit a PR by end of day today for review

lawson89 added a commit to lawson89/porcupine that referenced this issue Oct 13, 2023
lawson89 added a commit to lawson89/porcupine that referenced this issue Oct 13, 2023
@rdbende rdbende linked a pull request Oct 13, 2023 that will close this issue
lawson89 added a commit to lawson89/porcupine that referenced this issue Oct 13, 2023
use update_idletasks() instead of update()
lawson89 added a commit to lawson89/porcupine that referenced this issue Oct 13, 2023
center tooltip unless tip would go off the screen and then use what screen space is available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants