Reputation: 143
im currently working on tablet app migration from Win 8.1 to UWP. I created a new blank UWP and added all xaml pages and c# code to it. App is now running without any errors or crashes but i have problems with page layouts. In Win 8.1 every controller was scaled to fit the screen size. Now in Win10 UWP project, if i compare the win 8.1 and UWP app fonts and controllers are almost twice as big as they were on win 8.1 ... Is there something i forgot to do during the migration process ? Thanks
Upvotes: 1
Views: 80
Reputation: 1488
Try to disable DPI scaling
bool result = Windows.UI.ViewManagement.ApplicationViewScaling.TrySetDisableLayoutScaling(true);
Or set to 100% DPI in display properties
Upvotes: 1