Position boxes (like Legend) with pixels and set pad margins in pixels