adapted a sizer parameter in resource edit