Write method to draw box with centered label