question

njsokalski avatar image
0 Votes"
njsokalski asked FayWang-MSFT commented

UWP App Appears Differently on Different Machines While Debugging

I have a UWP app that I am debugging. However, while debugging, it appears differently on the 2 machines I have tried it on (no code has been changed, and both machines have the same version of Windows 10). The first machine, a Surface Book i7 (my development machine, therefore Local Machine in the debugging toolbar), shows the following 2 clips:

7767-local.png


7768-local2.png


The second machine, a Surface Go, is being used with the Visual Studio 2019 Remote Debugger. Here are clips of the same 2 areas when remote debugging on that machine:

7759-remote.png

7906-remote2.png



Notice the differences in alignment. If I modify the numbers to work on one device, hey do not work on the other. The elements & controls have fixed widths & heights, so stretching is not the reason for the problem. How can I design & debug things like this for multiple devices? Thanks.

windows-uwp
local.png (616 B)
local2.png (1.1 KiB)
remote.png (620 B)
remote2.png (1.1 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you provide the related xaml code snippet about this for us to test? In addition, how did you modify the numbers? Can you show more details about your expected behavior?

0 Votes 0 ·

Hi, have you solved your issue? Do you have other questions?

0 Votes 0 ·

Hi, is there any update?

0 Votes 0 ·

0 Answers