Problems with DPI [closed]

1

I am developing an application and for it I use a PC (Windows 7) and a laptop (Windows 10).

The problem is that when I edit something on the laptop I change the value of designer.vb :

  

Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) per Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!) .

It also increases the sizes of Me.ClientSize and Me.MinimumSize and the size of all the containers (Tabpages, listviews, ...).

I have read that it is due to the configuration of the DPI, but both the PC and the Notebook are 100%.

The only thing that changes is the resolution that the Laptop is 1920x1080 and on the PC is 1280 x 1024 but I forced the laptop to the same resolution and as soon as I change something, any movement of a single button, everything is mismatched .

UPDATE 1:

On the laptop I have another screen connected. Both the laptop and the screen configured with the same resolution and DPI. When disconnecting the screen and leaving only the laptop, the behavior is correct and does not change sizes or positions.

What can it be if everything is the same?

    
asked by Jaime Capilla 12.04.2017 в 12:53
source

0 answers