Toolstrip Bug in High Definition Display

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
ddemaeseneer
Posts: 8
Last visit: Fri Jan 26, 2024 2:53 pm
Has voted: 2 times

Toolstrip Bug in High Definition Display

Post by ddemaeseneer »

I am working on a project where users work on multiple devices and configurations with different Display Resolutions.
All forms are configured with AutoScaleMode = DPI
The switch between screens is working perfectly except for the tooltip which unfortunately is not showing correctly on a High Display Resolution screen.
What would you advise ?
Attachments
GUI Toolstrip Broken High DPI.jpg
GUI Toolstrip Broken High DPI.jpg (14.85 KiB) Viewed 706 times
GUI Toolstrip 1080p.jpg
GUI Toolstrip 1080p.jpg (64.18 KiB) Viewed 706 times
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Toolstrip Bug in High Definition Display

Post by jvierra »

You can start with this: https://stackoverflow.com/questions/188 ... ed-control

It is also possible to set the tooltip location in code by getting one of the TT events and setting the target location.
This topic is 1 year and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked