Pass info about widget aligment directly from upcast function to widget data.