Apply params to widget