Problem with sizes depending on screen quality

Issue resolved using your extension @TIMAI2 :

To get a fixed value, regardless of screen density, simply multiply the desired size by the screen density like this :

//with "size", the desired size in pixel
size * density1.density

I tested this method on several phones and got the same result for all of them.

Thanks anyway to @Kevinkun and @TIMAI2 for their help!

1 Like