I guess in that case using pixelSize with units.gu() should be ok. You can easily test if it scales well for different resolutions by exporting this before launching the app:
export GRID_UNIT_PX=20
Try it with a few different sizes. The default if its not set is 8.
I guess in that case using pixelSize with units.gu() should be ok. You can easily test if it scales well for different resolutions by exporting this before launching the app:
export GRID_UNIT_PX=20
Try it with a few different sizes. The default if its not set is 8.