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.
Post Reply
ddemaeseneer
Posts: 8
Last visit: Sun Sep 25, 2022 11:36 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 340 times
GUI Toolstrip 1080p.jpg
GUI Toolstrip 1080p.jpg (64.18 KiB) Viewed 340 times
jvierra
Posts: 15288
Last visit: Wed Sep 28, 2022 2:31 pm
Answers: 26
Has voted: 4 times
Been upvoted: 28 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.
Post Reply