Is it possible to make the relative size of elements for different resolutions Screen Devices?

+1 vote
asked Jun 6, 2016 in Issue by ant0xa (160 points)
reshown Jun 17, 2016 by admin
I would like to know whether it is possible to specify the size of elements (such as a button or icon, or font size) are not in pixels, and in relative units (eg dp)?

1 Answer

0 votes
answered Jun 17, 2016 by admin (31,720 points)
selected Aug 22, 2016 by admin
 
Best answer
If you use the CanvasScaler component, then the 'pixel' values that you get and set in components act as dp, as they are all unscaled values :)

~ Declan.
Welcome to MaterialUI support! Ask us anything :)
...