Search TextBlock horizontal alignment centered

The following white-space related changes are not needed, could you please revert them and leave only the codes you need? Thanks!