Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Layout and scale problem on HighDPI displays #113
Probably related to closed #71
I can reproduce this problem on Windows 7 and Windows 10 with latest MDE 1.23 when I use 150% or 200% DPI for Windows desktop. MDE Preview window is up-scaled so right and bottom border (and some content) is clipped. Also content is blurry.
Problem is related to AirspaceDecorator and Microsoft.DwayneNeed.dll library.
I did some quick&dirty hacks and removing
I also compiled fixed fork of AirspaceDecorator from https://github.com/barbeque/DwayneNeed mentioned at http://nondisplayable.ca/2015/05/29/mahapps-metro-gotchas.html and it works for me too, without any changes to MDE source code (just replace these two DLLs with fixed version). I used only patches from RedirectedHwndHost.cs and RedirectedWindow.cs files, all other source files were from https://microsoftdwayneneed.codeplex.com/SourceControl/latest
Please see attached screenshots. Note: these two controls above WebControl and margins around are there just for my tests.
I hope it will help to solve this issue. MDE looks great btw!