Skip to content
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.

Krypton ToolTip positions are useless #90

Closed
Smurf-IV opened this issue Feb 26, 2019 · 4 comments
Closed

Krypton ToolTip positions are useless #90

Smurf-IV opened this issue Feb 26, 2019 · 4 comments
Assignees
Labels
bug done The issue has been solved enhancement

Comments

@Smurf-IV
Copy link
Collaborator

The Tooltip position code wants to place the Krypton tooltip under the "Owner" control,
i.e. if you have a list or a treeview, then the tooltip will appear underneath it - miles away !
It should be "Near the mouse pointer !"

@PWagner1
Copy link
Collaborator

Might be that it's not wired into the Krypton/TreeView list item.

@Smurf-IV
Copy link
Collaborator Author

The Positioning code forces the tip to that place... But it is overly complicated and get the parent rect multiple times from multiple functions, so will take a while to unscramble !

@PWagner1
Copy link
Collaborator

You're not alone, while I was figuring out #82, I found that nothing could be done, as the whole class relied on a key/pair dictionary. So if I messed around with it, then a ripple effect could occur.

@Smurf-IV Smurf-IV self-assigned this Mar 3, 2019
@Smurf-IV
Copy link
Collaborator Author

Smurf-IV commented Mar 3, 2019

I'm going to extend the existing positioning code to be more "WPF" like:

https://docs.microsoft.com/en-us/dotnet/api/system.windows.controls.tooltip.placement?view=netframework-4.7.2

Smurf-IV added a commit that referenced this issue Mar 3, 2019
Fix #90 Krypton ToolTip positions are useless
@PWagner1 PWagner1 added done The issue has been solved and removed in progress labels Mar 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug done The issue has been solved enhancement
Projects
None yet
Development

No branches or pull requests

2 participants