Apply inherited attribute for widget