dzharii / swd-recorder

Selenium WebDriver Page Recorder (Page Objects)
MIT License
189 stars 71 forks source link

Custom DPI UI issue #3

Closed dzharii closed 11 years ago

dzharii commented 11 years ago

image

dzharii commented 11 years ago

Fixed with the following solution:

http://stackoverflow.com/a/187626/1126595

Set the AutoScaleMode to Inherit everywhere (ie all your UserControls) via a global search/replace, then set the      
AutoScaleMode to Dpi on your main form.

I also find that layout containers work better than anchors for this type of situation.