override setInnerSize method