Fix the layout issues for the label after deleting the default text