Add alignment to widget