use Int instead of float + call setIntrinsicSize on resize