added align and offest to widget