Widget : Added oldSize parameter to onSizeChanged