Fix InputBox DPI issues, allow adding app path by string for UWP ids #278
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes an issue with inputbox scaling, there's code to handle scaling already but think there was a change to how Windows handled DPI, so ScaleFactor was always set to 1, seems to use the right scale for me now:


->
Also changed "add application" button to show an inputbox with a "browse..." button, so app path could also be entered by text.
There was already a file-picker for EXEs but that wouldn't allow adding UWP game IDs, atm only way is to export & edit .nip files.
(eg. indiana jones profile didn't include UWP id which caused some FG stutters, a fix was posted asking people to save it as .nip and import etc, but now they could just enter the ID into NVPI)
Double-clicking the green app bar will also show the same dialog too.
Lastly added a yes/no confirmation to the restore defaults button since it was easy to misclick.