Resize event works for sensor but need to work with fonts