Open CarbonPool opened 9 months ago
Hi! Could you elaborate what you mean with adaptive size units? We have rem
as font size relative to the Window's default font size, and we have px
that's scaling with different device pixel densities.
Edit: I see now, you're suggesting that we add a unit that scales with the width and height of the Window
element's width
or height
without having to access the Window
.
Hi! Could you elaborate what you mean with adaptive size units? We have
rem
as font size relative to the Window's default font size, and we havepx
that's scaling with different device pixel densities.Edit: I see now, you're suggesting that we add a unit that scales with the width and height of the
Window
element'swidth
orheight
without having to access theWindow
.
Yes, this can adapt to screens with different resolutions
How to be compatible with devices with different resolutions, you need to use adaptive size units