format buttons on draw