GoogleCloudPlatform / iap-desktop

IAP Desktop is a Windows application that provides zero-trust Remote Desktop and SSH access to Linux and Windows VMs on Google Cloud.
Apache License 2.0
729 stars 166 forks source link

b/342952290 Add mitigation for user controls anchoring bug in NetFx #1429

Closed jpassing closed 3 months ago

jpassing commented 3 months ago

When a UserControl has been parented and we're in High-DPI mode. Winforms autoscales the UserControl and should resize any nested controls that are anchored to scale horizontaly or vertically. But that doesn't happen due to issue 6381.

As a workaround, we look for affected controls and resize them explicitly.