set widget spacing according to screen DPI