Sync widget grid properties on resize.