#261 Renamed setSize to updateSize