programmatically implemented centered label